You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
22 hours ago | |
|---|---|---|
| src | 22 hours ago | |
| .gitignore | 22 hours ago | |
| Cargo.toml | 22 hours ago | |
| README.md | 22 hours ago | |
README.md
scrypt-x25519-wasm
Originally forked from https://github.com/MyEtherWallet/scrypt-wasm (last commit: 2018)
This is a minimal (less than 100kb, 30kb gzipped) webassembly blob which provides cryptography functions neccesary for:
- passphrase-based key derivation
Scryptmemory-hard hash function
- asymetric-key cryptography (public and private key)
- X25519 Scalar Multiplication (ability to obtain public key from private key)
- NaCl-compatible
crypto_box(X25519 Diffie-Hellman key agreement, with a good Authenticated Encryption (AEAD) cypher on top)
dev-dependencies
IDK if you have to run this? You might.
rustup target add wasm32-unknown-unknownx
Build
wasm-pack build
Then the output should be in the pkg folder.