Web3S_Demo > Web 3S Pbkdf 2Hmac Async Task > Derive Key (PBKDF2-HMAC)

Derive Key (PBKDF2-HMAC)

Derives a cryptographic key from a password using password-based derivation algorithm.

Inputs

In
Exec

Digest Type
EWeb3S_DigestTypeHmac Enum

digest function type to use for HMAC generation.

Password
Array of Bytes

the password to derive from.

Salt
Array of Bytes

the salt, used in derivation. Makes it harder to target with rainbow tables.

Iterations
Integer

the number of iterations. RFC 2898 suggests >=1000

Derived Length
Integer

length of the derived key.

Outputs

Out
Exec

Succeeded
Exec

Failed
Exec

Error Message
String

Derived Key
Array of Bytes