Skip to content

hash-and-sign/hash-and-sign.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hash-and-sign

Digitally sign text using a mnemonic seed. Uses the TweetNaCl-js implementaion of Ed25519 DSA (Digital Signature Algorithm) and SHA-512 for hashing the mnemonic seed.

Github page with usage instructions: https://hash-and-sign.github.io

hash-and-crypt

Simple encryption using a mnemonic seed. Uses the TweetNaCl-js implementaion of Salsa20 and Poly1305 for encryption and SHA-512half for hashing the seed.

Github page with usage instructions: https://hash-and-sign.github.io/hash-and-crypt.html

Security notes

The above HTML page, once served to your computer, has no further communication with the server or any other entity. No cookies or local data storage are created when the pages run in your browser. Therefore, secret data exist only temporarily within the browser while it is open, unless manually copied elsewhere. The browser cache should be cleared before closing it. The clipboard should also be cleared if a secret was copied to it.

For enhanced peace of mind, save the HTML page to your computer when it is blank and move it to an offline computer before using. Review the dowloaded code, which includes the two libraries nacl.min.js and nacl-util.min.js, obtained from github user dchest (Dmitry Chestnykh). The originals are available at these links along with non-minified (and possibly more recent) versions:

TweetNaCl.js was ported from TweetNaCl / NaCl.

Sister site

https://shared-secret.github.io