Back to / helper / base62

package base62

Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module:


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


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