blob: 7d2c7d5ba1589576b7f6d6cb8aaf9e955034948e [file] [log] [blame]
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// 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)
}