mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
| .. | ||
| src | ||
| test | ||
| .eslintrc.js | ||
| babel.config.js | ||
| CHANGELOG.md | ||
| package.json | ||
| README.md | ||
| test-server.js | ||
| tsconfig.json | ||
| webpack.config.js | ||
SNCrypto Web
Cryptographic primitives as a web library (UMD) - used by SNJS.
Installing
yarn add @standardnotes/sncrypto-web
Supported Algorithms
- Argon2id (Libsodium.js)
- XChaCha20+Poly1305 (Libsodium.js)
- PBDKF2 (WebCrypto)
- AES-CBC (WebCrypto)
- HMAC SHA-256
- SHA256
Tests
Tests are run in the browser due to WebCrypto and WebAssembly dependency.
yarn test