I often need random bytes to test various methods over byte buffers. For now I am using SecureRandom.random_bytes but it is slow-ish by virtue of it's requirement to be secure. Is there an alternative that uses a C extension for quick generation of random bytes for this sort of situations?
Aucun commentaire:
Enregistrer un commentaire