betterguid icon indicating copy to clipboard operation
betterguid copied to clipboard

Use crypto/rand instead of math/rand

Open onitake opened this issue 4 years ago • 1 comments

For certain use cases, it may be necessary to generate entropy using a cryptographically secure random number generator.

Would it be possible to make the randomness source customizable, so crypto/rand can be used instead of math/rand?

onitake avatar Jan 05 '21 16:01 onitake

@onitake I made a pull request for this, feel free to use my version of the code.

arieroos avatar Feb 23 '21 11:02 arieroos