cryptographic

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bcrypt

type Bcrypt struct{}

func (*Bcrypt) Hash

func (hashing *Bcrypt) Hash(plain string) (string, error)

func (*Bcrypt) IsNotEqual

func (hashing *Bcrypt) IsNotEqual(hashed, plain string) bool

type HashingMock

type HashingMock struct {
	mock.Mock
}

func (*HashingMock) Hash

func (hashing *HashingMock) Hash(plain string) (string, error)

func (*HashingMock) IsNotEqual

func (hashing *HashingMock) IsNotEqual(hashed, plain string) bool

Jump to

Keyboard shortcuts

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