(MIRROR) File encryption & decryption in the browser
Go to file
sh-dv bb7cd38fb0 Update CHANGELOG.md 2022-01-31 02:42:15 +02:00
.github Update snyk.yml 2021-10-04 08:43:16 +00:00
cypress Update testing instructions 2021-11-24 12:58:02 +02:00
locales Rewording and typos 2022-01-31 02:01:58 +02:00
pages Added loading indicator 2022-01-31 02:04:01 +02:00
public Footer redesign 2022-01-31 02:04:45 +02:00
service-worker Fix file name assigning bug. 2022-01-17 18:21:35 +02:00
src Fix file name encoding 2022-01-31 02:42:12 +02:00
.eslintrc V2 stable release (#27) 2021-09-01 11:20:11 +03:00
.gitignore Custom notfound fix with postbuild file 2021-09-13 19:51:15 +03:00
CHANGELOG.md Update CHANGELOG.md 2022-01-31 02:42:15 +02:00
Dockerfile Update Dockerfile 2022-01-15 14:59:44 +02:00
LICENSE V2 stable release (#27) 2021-09-01 11:20:11 +03:00
README.md Update README.md 2022-01-31 02:12:15 +02:00
SECURITY.md V2 stable release (#27) 2021-09-01 11:20:11 +03:00
TRANSLATION.md Rewording and typos 2022-01-31 02:01:58 +02:00
cypress.json e2e testing with cypress 2021-10-03 16:00:39 +03:00
docker-compose.yml Optimize docker containers (Size reduction) 2022-01-05 01:18:19 +02:00
next.config.js V2 stable release (#27) 2021-09-01 11:20:11 +03:00
package-lock.json Update packages 2022-01-31 02:02:09 +02:00
package.json Update packages 2022-01-31 02:02:09 +02:00
post-build.js Custom notfound fix with postbuild file 2021-09-13 19:51:15 +03:00

README.md

hat.sh

Status License: MIT CodeQL Node.js CI Snyk


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.

Usage

how-to-use-gif


Features

Security

  • XChaCha20-Poly1305 - for symmetric encryption.
  • Argon2id - for password-based key derivation.
  • X25519 - for key exchange.

The libsodium library is used for all cryptographic algorithms.

Privacy

  • The app runs locally in your browser.
  • No data is ever collected or sent to anyone.

Functionality

  • Secure multiple file encryption/decryption with passwords or keys.
  • Secure random password generation.
  • Asymmetric key pair generation.
  • Authenticated key exchange.
  • Password strength estimation.

Offline Use

The app can be easily self hosted, please follow the installation instructions.


Browser Compatibility

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.


Official running instances of the app

# URL
1 hat.sh
2 hat.now.sh
2 hat.vercel.app

Donations

The project is maintained in my free time. Donations of any size are appreciated :


Crypto

Coin Address
Monero 84zQq4Xt7sq8cmGryuvWsXFMDvBvHjWjnMQXZWQQRXjB1TgoZWS9zBdNcYL7CRbQBqcDdxr4RtcvCgApmQcU6SemVXd7RuG
Bitcoin bc1qlfnq8nu2k84h3jth7a27khaq0p2l2gvtyl2dv6
Ethereum 0xF6F204B044CC73Fa90d7A7e4C5EC2947b83b917e

Kofi

https://ko-fi.com/shdvapps

Open Collective

https://opencollective.com/hatsh



Social


Acknowledgements


Credits

libsodium.js

next.js

material-ui


License

Copyright (c) 2022 sh-dv