2 ms·
I agree it isn't a bug in the RNG itself, but it a bug in randomness propagation which is part of randomness generation. For instance consider this bug: secre
by EthanHeilman 2y ago
I agree it isn't a bug in the RNG itself, but it a bug in randomness propagation which is part of randomness generation.
For instance consider this bug:
secretKey = Hexadecimal(Crypto.Rand())[0:16]
The person likely intended to generate a secret_key with 16 bytes of entropy. Instead they generated a secretKey which is 16 bytes long, but only contains 8 bytes of entropy. I would call this a RNG bug.
- deleted 2y ago[deleted]