security

package
v0.0.0-...-e688a44 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(password string) ([]byte, error)

receives a string and returns an bytestring representation of a sting

func TokenHash

func TokenHash(text string) string

func VerifyPassword

func VerifyPassword(hashedPassword, password string) error

looks at hash and verify the correct password

Types

This section is empty.

Jump to

Keyboard shortcuts

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