mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
- @standardnotes/clipper@1.1.423 - @standardnotes/desktop@3.110.25 - @standardnotes/mobile@3.58.82 - @standardnotes/releases@1.4.718 - @standardnotes/sncrypto-web@1.14.11 - @standardnotes/snjs@2.208.6 - @standardnotes/web@3.191.11 |
||
|---|---|---|
| .. | ||
| 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