Hat.sh is a web app that provides secure local file encryption in the browser. It's fast, secure, and uses modern cryptographic algorithms with chunked AEAD stream encryption/decryption.
V2 of hat.sh introduced memory efficient in-browser large file chunked encryption using streams with libsodium.
- XChaCha20-Poly1305 - for symmetric encryption.
- Argon2id - for password-based key derivation.
- X25519 - for key exchange.
The libsodium library is used for all cryptographic algorithms.
- The app runs locally in your browser.
- No data is ever collected or sent to anyone.
- Secure multiple file encryption/decryption with passwords or keys.
- Secure random password generation.
- Asymmetric key pair generation.
- Authenticated key exchange.
- Password strength estimation.
The app can be easily self hosted, please follow the installation instructions.
We officially support the last two versions of every major browser. Specifically, we test on the following
- Chrome on Windows, macOS, and Linux , Android
- Firefox on Windows, macOS, and Linux
- Safari on iOS and macOS
- Edge on Windows
Safari and Mobile browsers are limited to single 1GB files, due to lack of support with server-worker fetch api.
# | URL |
---|---|
1 | hat.sh |
2 | hat.now.sh |
2 | hat.vercel.app |
The project is maintained in my free time. Donations of any size are appreciated :
Crypto
Kofi
Open Collective
- Everyone who supported the project.
- Samuel-lucas6 from the Kryptor project for being helpful and doing a lot of beta testing.
- stophecom from the Scrt.link project for translating to German.
- bbouille for translating to French.
- qaqland for translating to Chinese.
- Ser-Bul for translating to Russian.
- matteotardito for translating to Italian.
- t0mzSK for translating to Slovak.
- Xurdejl for translating to Spanish.
- Franatrtur for translating to Czech.
- darkao for translating to Turkish.
- Frank7sun for translating to Japanese.