- @standardnotes/api@1.20.4 - @standardnotes/blocks-editor@1.5.1 - @standardnotes/desktop@3.100.1 - @standardnotes/encryption@1.19.12 - @standardnotes/features@1.55.1 - @standardnotes/filepicker@1.25.12 - @standardnotes/files@1.12.12 - @standardnotes/icons@1.4.10 - @standardnotes/mobile@3.46.10 - @standardnotes/models@1.37.1 - @standardnotes/releases@1.3.235 - @standardnotes/responses@1.12.7 - @standardnotes/services@1.45.2 - @standardnotes/sncrypto-common@1.13.2 - @standardnotes/sncrypto-web@1.14.2 - @standardnotes/snjs@2.151.1 - @standardnotes/styles@1.7.1 - @standardnotes/toast@1.3.9 - @standardnotes/ui-services@1.13.14 - @standardnotes/utils@1.11.2 - @standardnotes/web@3.100.1
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