hasher

package
v0.0.0-...-2b02858 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher interface {
	Hash(plaintext []byte, salt []byte) []byte
}

type HmacSHA256

type HmacSHA256 struct{}

func (HmacSHA256) Hash

func (HmacSHA256) Hash(plaintext []byte, salt []byte) []byte

type Pbkdf2

type Pbkdf2 struct{}

func (Pbkdf2) Hash

func (Pbkdf2) Hash(plaintext []byte, salt []byte) []byte

type Scrypt

type Scrypt struct{}

func (Scrypt) Hash

func (Scrypt) Hash(plaintext []byte, salt []byte) []byte

Jump to

Keyboard shortcuts

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