项目作者: metamystical

项目描述 :
TweetNaCl cryptographic tools
高级语言: JavaScript
项目地址: git://github.com/metamystical/metamystical.github.io.git
创建时间: 2020-07-15T19:32:25Z
项目社区:https://github.com/metamystical/metamystical.github.io

开源协议:The Unlicense

下载


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: hash-and-sign.html

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: hash-and-crypt.html

shared-secret

Create a secret password known only to you and another party, without ever communicating it.
Uses the TweetNaCl-js implementaion of Curve25519 Diffie-Hellman key exchange.
Optionally, short text messages may be encrypted/decrypted with the secret password
using Salsa20 and Poly1305.

Github page with usage instructions: shared-secret.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.