Files
standardnotes-app-web/packages/sncrypto-web
Mo 4a29e2a24c chore: upgrade eslint and prettier (#2376)
* chore: upgrade eslint and prettier

* chore: add restrict-template-expressions
2023-07-27 14:36:05 -05:00
..
2023-07-23 21:46:48 +00:00
2023-07-23 21:46:48 +00:00

SNCrypto Web

lerna

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