rust -> WebAssembly for web browsers missing features. scrypt + NaCl crypto_box, minimal, 30kb gzipped
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.
Your Name 2edcb87109 format 4 days ago
src format 4 days ago
.gitignore update build and readme 4 days ago
Cargo.toml update build and readme 4 days ago
README.md fix name 4 days 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
    • Scrypt memory-hard hash function
  • asymetric-key cryptography (public and private key)

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.