Volver al ranking

sh-dv/hat.sh

JavaScripthat.sh

Encrypt and Decrypt files securely in your browser.

encryptionfile-encryptionjavascriptclient-sideserverlessdecryptionencryption-decryptionbrowserin-browserxchacha20-poly1305xchacha20libsodium
Crecimiento de estrellas
Estrellas
2.3k
Forks
272
Crecimiento semanal
Issues
16
1k2k
may 2019sept 2021feb 2024jul 2026
Artefactosnpmnpm install hat.sh
README

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

Repositorios relacionados
rclone/rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

GoGo ModulesMIT Licensegolanggo
rclone.org
58.5k5.2k
spacedriveapp/spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.

Rustcrates.ioOtherfile-managerdistributed-systems
spacedrive.com
38.6k1.3k
gchq/CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

JavaScriptnpmApache License 2.0data-analysisdata-manipulation
gchq.github.io/CyberChef
35.4k4k
openssl/openssl

General purpose TLS and crypto library

CApache License 2.0cryptographyopenssl
openssl-library.org
30.5k11.4k
trailofbits/algo

Set up a personal VPN in the cloud

PythonPyPIGNU Affero General Public License v3.0vpn-serverstrongswan
blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
30.3k2.4k
hwdsl2/setup-ipsec-vpn

Set up your own IPsec VPN server in just a few minutes, with IPsec/L2TP, Cisco IPsec and IKEv2. Supports Ubuntu, Debian, CentOS/RHEL, Alpine Linux and Raspberry Pi OS. Includes client config and management scripts.

ShellOthervpnipsec
28.2k6.5k
ente/ente

💚 End-to-end encrypted cloud for everything.

DartGNU Affero General Public License v3.0androidios
ente.com
27.9k1.7k
amark/gun

An open source cybersecurity protocol for syncing decentralized graph data.

JavaScriptnpmOthermachine-learningartificial-intelligence
gun.eco/docs
19.1k1.2k
simplex-chat/simplex-chat

SimpleX - the first messaging network operating without user identifiers of any kind - 100% private by design! iOS, Android and desktop apps 📱!

HaskellGNU Affero General Public License v3.0chatprotocol
simplex.chat
18.8k1.2k
ente-io/ente

End-to-end encrypted, FOSS cloud for Photos, 2FA secrets and more!

DartGNU Affero General Public License v3.0androidios
ente.io
18.2k997
angristan/openvpn-install

Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS, Arch Linux and more

ShellMIT Licenseopenvpnvpn
stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
16.1k3.3k
cryptomator/cryptomator

Cryptomator for Windows, macOS, and Linux: Secure client-side encryption for your cloud storage, ensuring privacy and control over your data.

JavaMavenGNU General Public License v3.0cryptomatorjava
cryptomator.org
15.7k1.4k