crypt

package
Version: v0.0.0-...-1a7bac6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 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.

Source Files

Jump to

Keyboard shortcuts

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