newByteArraySalt
Generates a cryptographically secure random byte array for use as a salt.
Return
a random ByteArray
Parameters
len
the length of the salt in bytes (default 16)
Generates a cryptographically secure random byte array for use as a salt.
a random ByteArray
the length of the salt in bytes (default 16)