Crate scryptenc_wasm

source ·
Expand description

The scryptenc-wasm crate is the Wasm bindings for the scryptenc crate.

Structs§

  • The scrypt parameters used for the encrypted data.

Functions§

  • Decrypts ciphertext and into a newly allocated Uint8Array.
  • Encrypts plaintext and into a newly allocated Uint8Array.
  • Encrypts plaintext with the specified scrypt parameters and into a newly allocated Uint8Array.
  • The number of bytes of the header.
  • The number of bytes of the MAC (authentication tag) of the scrypt encrypted data format.