pbkdf1 password salt count dk_len is dk, the derived key of dk_len octets. The salt must be eight octets, count the iteration count.
- raises Invalid_argument
when either
saltis not eight octets long or eithercountordk_lenare not valid.
Pbkdf.SRFC 2898 specifies two password-based key derivation functions (PBKDF1 and PBKDF2), which are abstracted over a specific hash/pseudorandom function.
pbkdf1 password salt count dk_len is dk, the derived key of dk_len octets. The salt must be eight octets, count the iteration count.
when either salt is not eight octets long or either count or dk_len are not valid.