mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05:00
- @standardnotes/api@1.20.5 - @standardnotes/blocks-editor@1.5.3 - @standardnotes/desktop@3.100.5 - @standardnotes/encryption@1.19.13 - @standardnotes/features@1.55.2 - @standardnotes/filepicker@1.25.13 - @standardnotes/files@1.12.13 - @standardnotes/mobile@3.46.15 - @standardnotes/models@1.37.2 - @standardnotes/releases@1.3.241 - @standardnotes/responses@1.12.8 - @standardnotes/services@1.45.3 - @standardnotes/sncrypto-common@1.13.3 - @standardnotes/sncrypto-web@1.14.3 - @standardnotes/snjs@2.151.2 - @standardnotes/ui-services@1.13.15 - @standardnotes/utils@1.11.3 - @standardnotes/web@3.100.4
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