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)