You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the other languages feature the ability to get random bytes from their random class, often directly filling their equivalent of a byte array. Do we need Random.bytes()?
There already exists Crypto.getRandomValues(bytearray), but that specifically fills the bytearray with cryptographically strong random numbers.
I think this is especially useful for seeded-random, under the assumption that seeded-random and Random will get the same methods.
The text was updated successfully, but these errors were encountered:
Many of the other languages feature the ability to get random bytes from their random class, often directly filling their equivalent of a byte array. Do we need
Random.bytes()
?There already exists
Crypto.getRandomValues(bytearray)
, but that specifically fills the bytearray with cryptographically strong random numbers.I think this is especially useful for seeded-random, under the assumption that seeded-random and
Random
will get the same methods.The text was updated successfully, but these errors were encountered: