Derives a cryptographic key from a password using password-based derivation algorithm.
|
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. |
|
Out
Exec
|
|
|
Error Message
String
|
if generation failed, contains associated error message. |
|
Derived Key
Array of Bytes
|
the derived key if successful, empty otherwise. |
|
Success
Boolean
|
True if generation was successful, false otherwise. |