fe18b6f9e0
* Swap out sdk/helper libs with implementations in go-secure-stdlib * Fix transit batch test
17 lines
369 B
Go
17 lines
369 B
Go
// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
|
|
package base62
|
|
|
|
import (
|
|
"io"
|
|
|
|
extbase62 "github.com/hashicorp/go-secure-stdlib/base62"
|
|
)
|
|
|
|
func Random(length int) (string, error) {
|
|
return extbase62.Random(length)
|
|
}
|
|
|
|
func RandomWithReader(length int, reader io.Reader) (string, error) {
|
|
return extbase62.RandomWithReader(length, reader)
|
|
}
|