rand

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Characters

func Characters(len int) string

Use this for generating random pat of a ID. Do not use this for generating short passwords or secrets.

func DigestForIndex

func DigestForIndex(body string) string

func GeneratePassword

func GeneratePassword() string

func GenerateToken

func GenerateToken() string

func GenerateTokenWithLength

func GenerateTokenWithLength(len int) string

func WithUniqSuffix

func WithUniqSuffix(seed string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL