[ Version ( since = "0.2.0" ) ]
public PassKey.derive (uint8[] passphrase, out ErrKeyDerivation error)
Generates a secret symmetric key from the given passphrase.
Be sure to not compromise the key! Only keep it in memory, do not write it to disk.
Note that this function is not deterministic; to derive the same key from a password, you also must know the random salt that was used. A deterministic version of this function is PassKey.PassKey.derive_with_salt.
passphrase |
The user-provided password. Can be empty. |
0.2.0