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
Current Linux implementation for PlatformRandom only checks for an error, but does not check if the number returned (the number of bytes retrieved from /dev/urandom) filled the ByteArray completely.
I just tested the fillCompletely extension function HERE and of course the actual implementation to ensure the ByteArray was actually filled with non-empty values within a certain threshold (b/c some indices will still remain empty) HERE. AFAIK, there's no real good way to get the result to return a specific value that would make the reading of /dev/urandom testable.
Current Linux implementation for
PlatformRandom
only checks for an error, but does not check if the number returned (the number of bytes retrieved from/dev/urandom
) filled theByteArray
completely.See fillCompletely
And fillCompletelyUsage
for pointers
The text was updated successfully, but these errors were encountered: