Skip to content

Releases: Masterminds/goutils

Correct the output of the RandomAlpha functions

04 Feb 20:19
f192353
Compare
Choose a tag to compare

This release corrects an error in the RandomAlphaNumeric(int) and CryptoRandomAlphaNumeric(int) functions. We have issued a security advisory for this change:

The functions RandomAlphaNumeric(int) and CryptoRandomAlphaNumeric(int) are not as random as they should be. Small values of int in the functions above will return a smaller subset of results than they should. For example, RandomAlphaNumeric(1) will always return a digit in the 0-9 range, while RandomAlphaNumeric(4) will return around ~7 million of the ~13M possible permutations.

See the related Security Advisory

New Crypto Random Utils

03 Jan 22:58
41ac869
Compare
Choose a tag to compare

This release adds cryptographic secure versions of the random generators.

Release 1.0.1

31 May 11:02
v1.0.1
Compare
Choose a tag to compare

Fixed

  • #21: Fix generation of alphanumeric strings (thanks @dbarranco)

First Release

30 Apr 22:45
Compare
Choose a tag to compare
1.0.0

Doc clean up