diff --git a/tools/security/random.go b/tools/security/random.go index 9265e94d..d219363a 100644 --- a/tools/security/random.go +++ b/tools/security/random.go @@ -43,9 +43,9 @@ func RandomStringWithAlphabet(length int, alphabet string) string { // // The generated string matches [A-Za-z0-9]+ and it's transparent to URL-encoding. // -// For a cryptographically random string (but a little bit slower) use PseudorandomString instead. +// For a cryptographically random string (but a little bit slower) use RandomString instead. func PseudorandomString(length int) string { - return RandomStringWithAlphabet(length, defaultRandomAlphabet) + return PseudorandomStringWithAlphabet(length, defaultRandomAlphabet) } // PseudorandomStringWithAlphabet generates a pseudorandom string