Back to godoc.org
github.com/hashicorp/vault/sdk / helper / base62

package base62

v0.1.13
Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module: github.com/hashicorp/vault/sdk

Overview

Package base62 provides utilities for working with base62 strings. base62 strings will only contain characters: 0-9, a-z, A-Z

Index

func Random

func Random(length int) (string, error)

Random generates a random string using base-62 characters. Resulting entropy is ~5.95 bits/character.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier