salt

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULTRANDLEN = 10

Variables

This section is empty.

Functions

func DecodeSalt

func DecodeSalt(salt string) (string, *perror.PlutoError)

func EncodePassword

func EncodePassword(password string, salt string) (string, *perror.PlutoError)

func RandomSalt

func RandomSalt(prefix ...string) string

func RandomToken

func RandomToken(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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