mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
- provides three functions
- GetRandomAlphaNumeric()
- GetRandomAlphaNumericFull()
- GetRandomBase64()
- ValidAccessKey()
11 lines
176 B
Go
11 lines
176 B
Go
package keys
|
|
|
|
const (
|
|
MINIO_ACCESS_ID = 20
|
|
MINIO_SECRET_ID = 40
|
|
)
|
|
|
|
func isalnum(c byte) bool {
|
|
return '0' <= c && c <= '9' || 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z'
|
|
}
|