Expand description
The scryptenc-wasm
crate is the Wasm bindings for the scryptenc
crate.
Structs§
- Params
- The scrypt parameters used for the encrypted data.
Functions§
- decrypt
- Decrypts
ciphertext
and into a newly allocatedUint8Array
. - encrypt
- Encrypts
plaintext
and into a newly allocatedUint8Array
. - encrypt_
with_ params - Encrypts
plaintext
with the specified scrypt parameters and into a newly allocatedUint8Array
. - header_
size - The number of bytes of the header.
- tag_
size - The number of bytes of the MAC (authentication tag) of the scrypt encrypted data format.