Functions
-
generate(int length)
→ List<int>
-
Generates a random salt of
length
bytes from a cryptographically secure random number generator.
-
generateAsBase64String(int length)
→ String
-
Generates a random salt of
length
bytes from a cryptographically secure random number generator and encodes it to Base64.