sh-dv / hat.sh

Encrypt and Decrypt files securely in your browser.
https://hat.sh
MIT License
2.13k stars 251 forks source link
browser client-side cryptography decryption encryption encryption-decryption file-encryption in-browser javascript libsodium serverless xchacha20 xchacha20-poly1305

hat.sh

[![Status](https://img.shields.io/badge/status-active-success.svg)](#) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](#) [![CodeQL](https://github.com/sh-dv/hat.sh/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/sh-dv/hat.sh/actions/workflows/codeql-analysis.yml) [![Node.js CI](https://github.com/sh-dv/hat.sh/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/sh-dv/hat.sh/actions/workflows/node.js.yml) [![Snyk](https://github.com/sh-dv/hat.sh/actions/workflows/snyk.yml/badge.svg)](https://github.com/sh-dv/hat.sh/actions/workflows/snyk.yml)

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

The libsodium library is used for all cryptographic algorithms.

Privacy

Functionality


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

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](https://ko-fi.com/shdvapps) Open Collective [https://opencollective.com/hatsh](https://opencollective.com/hatsh)



Social


Acknowledgements


Credits

libsodium.js

next.js

material-ui


License

Copyright (c) 2022 sh-dv