open-vault/sdk/helper/base62/base62.go

17 lines
369 B
Go
Raw Normal View History

// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
2019-04-15 15:36:10 +00:00
package base62
import (
"io"
2019-11-07 16:54:34 +00:00
extbase62 "github.com/hashicorp/go-secure-stdlib/base62"
2019-04-15 15:36:10 +00:00
)
func Random(length int) (string, error) {
return extbase62.Random(length)
}
func RandomWithReader(length int, reader io.Reader) (string, error) {
return extbase62.RandomWithReader(length, reader)
2019-04-15 15:36:10 +00:00
}