func GenerateRandomString(n int) string {
	const letters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-"
	bytes := GenerateRandomBytes(n)

	for i, b := range bytes {
		bytes[i] = letters[b%byte(len(letters))]
	}
	return string(bytes)
}
// GenerateRandomString returns a securely generated random string.
// It will return an error if the system's secure random
// number generator fails to function correctly, in which
// case the caller should not continue.
GenerateRandomString returns a securely generated random string.
It will return an error if the system's secure random
number generator fails to function correctly, in which
case the caller should not continue.
// GenerateRandomString returns a securely generated random string . // It will return an error if the system ' s secure random // number generator fails to function correctly in which // case the caller should not continue .
func GenerateRandomString(n int) string {
	const letters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-"
	bytes := GenerateRandomBytes(n)
	for i, b := range bytes {
		bytes[i] = letters[b%byte(len(letters))]
	}
	return string(bytes)
}
func GenerateRandomString ( n int ) string { const letters = " " bytes := GenerateRandomBytes ( n ) for i , b := range bytes { bytes [ i ] = letters [ b % byte ( len ( letters ) ) ] } return string ( bytes ) }
GenerateRandomString returns a securely generated random string.
GenerateRandomString returns a securely generated random string .