crypto

package
v0.0.0-...-60b29a0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

func NewCrypto

func NewCrypto() *Client

NewCrypto returns a new crypto client

func (*Client) CheckPassword

func (c *Client) CheckPassword(password, hashedPassword string) error

func (*Client) HashPassword

func (c *Client) HashPassword(password string) (string, error)

HashPassword returns the bcrypt hash of the password

Jump to

Keyboard shortcuts

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