-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
SecureJava has an option to pass a seed through to SecureRandom initially:
def fromBytes(bytes: Array[Byte]): SecureJava =
new SecureJava(new SecureRandom(bytes))
new SecureRandom(seed) is generally considered to be unsafe and non-portable: see http://stackoverflow.com/a/12251473/5266 for details. Ideally it should be deprecated and removed.
Metadata
Metadata
Assignees
Labels
No labels