crypto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto struct{}

func NewCrypto

func NewCrypto() *Crypto

func (Crypto) CompareHashAndPassword

func (c Crypto) CompareHashAndPassword(hashedPassword, password string) error

CompareHashAndPassword compare passwords

func (Crypto) HashPassword

func (c Crypto) HashPassword(password string) (string, error)

HashPassword get hashed password

Jump to

Keyboard shortcuts

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