crypt

package
v0.0.0-...-88bcfc7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegexpAlpha = regexp.MustCompile("[^a-zA-Z]+")

RegexpAlpha is a regex pattern for alphabetic characters only

View Source
var RegexpAlphanumeric = regexp.MustCompile("[^a-zA-Z0-9]+")

RegexpAlphanumeric is a regex pattern for alphabetic/numeric characters only

Functions

func CreateSecret

func CreateSecret(length int) (string, error)

CreateSecret generates a secret that can be used for encryption

Types

This section is empty.

Jump to

Keyboard shortcuts

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