rand

package
Version: v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 17

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.

Source Files

Jump to

Keyboard shortcuts

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