hashing

package
v0.0.0-...-8a85ded Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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 Algorithm

type Algorithm interface {
	Generate(str string) (hash string, err error)
	Compare(password, hash string) (match bool, err error)
}

type Hashing

type Hashing struct {
	// contains filtered or unexported fields
}

func (*Hashing) Compare

func (p *Hashing) Compare(password, hash string) (match bool, err error)

func (*Hashing) Construct

func (*Hashing) Construct() interface{}

func (*Hashing) Generate

func (p *Hashing) Generate(str string) (hash string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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