crypto

package
v0.0.0-...-42ca271 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgonPasswordCheck

func ArgonPasswordCheck(password string, hash string) bool

func ArgonPasswordHash

func ArgonPasswordHash(password string) string

func BcryptPasswordCheck

func BcryptPasswordCheck(password string, hash string) bool

func BcryptPasswordHash

func BcryptPasswordHash(password string) string

func RandomString

func RandomString(n int) string

RandomString generates a hex string corresponding to a random byte slice of length n.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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