Pbkdf2Sha256¶
Derive a key from a password using PBKDF2 with HMAC-SHA-256 as the PRF, as defined in RFC 2898.
Returns a key of the requested length, or raises an error if the derivation fails (e.g., zero iterations).
Constructors¶
create¶
Returns¶
- Pbkdf2Sha256 val^
Public Functions¶
apply¶
fun tag apply(
password: ByteSeq,
salt: ByteSeq,
iterations: U32 val,
key_length: USize val)
: Array[U8 val] val ?
Parameters¶
Returns¶
eq¶
Parameters¶
- that: Pbkdf2Sha256 val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Pbkdf2Sha256 val
Returns¶
- Bool val