StaticnewCreate new Scrypt parameters with default settings. Uses a random 16-byte salt, log_n=15, r=8, p=1.
StaticnewCreate Scrypt parameters with custom settings.
Returns the salt.
Returns the log_n parameter.
Returns the r parameter (block size).
Returns the p parameter (parallelism).
Returns the method index for CBOR encoding.
Derive a key from the secret and encrypt the content key.
Derive a key from the secret and decrypt the content key.
Get string representation.
Convert to CBOR. Format: [2, Salt, log_n, r, p]
Convert to CBOR binary data.
Staticfrom
Scrypt parameters for password-based key derivation.
Parameters: