- Index
- »
- io
- »
- func:ioPbk
def
func:ioPbk
ioPbk(algorithm, password, salt, iterations, keyLen)
Generate a password based cryptographic key. See Buf.pbk
.
Example:
ioPbk("PBKDF2WithHmacSHA1", "secret", ioRandom(64), 1000, 20).ioToBase64
Generate a password based cryptographic key. See Buf.pbk
.
Example:
ioPbk("PBKDF2WithHmacSHA1", "secret", ioRandom(64), 1000, 20).ioToBase64