About Hat.sh

this is a javascript app that provides secure file encryption using the AES-256-GCM algorithm from WebCryptoAPI included in your browser.
It's fast, secure and Serverless, the app never uploads the files to the server.
in a small amount of code the app can encrypt any type of files at any size within seconds.
To use the app all you have to do is Browse a file , Type a Decryption Key or Generate one through our secure key generator . and your encrypted file is ready to download.

How does it work?


(password-based key derivation)
deriving a cryptographic key from the given password using the PBKDF2 algorithm which is executed 100k times


Cryptographic key

combining the password entered and a completely random salt and the iterations to create a cryptographic key


Encrypted file

loading the selected file content and running the encryption algorithm with the derived cryptographic key in combination with a number used once to implement randomised encryption



Are there log files or type of records?

NO. hat.sh never stores any files or passwords, it all happens locally in your browser.

Is the app free?

YES. hat.sh is free and always will be, we depend only on donations

How to use?

it's very simple, browse a file, generate a key or type one, click the button!.

Is there a file type or size limit?

No, the app accepts any type at any size.

Is it secure?

Yes, the app encrypts the file using the AES-GCM algorithm provided by the Web Crypto.
everything is done offline in your browser. No data is going to be sent to any server

I forgot my Encryption Key, can i restore it?

NO as mentioned above, we don't keep any data. once you encrypt a file make sure to save the Key.

How can i contribute?

Hat.sh is an open-source app, it's currently in the beta version, you can help making it better by commiting. it's maintained only in the free time , Will appreciate your help by donating.