pbkdf2

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PBKDF2

type PBKDF2 struct {
	HashFn        func() hash.Hash
	IterationSize int
	KeyLength     int
}

PBKDF2 is struct to create hash.

func (PBKDF2) Hash

func (p PBKDF2) Hash(password, salt string) string

Hash creates hased text from password.

Jump to

Keyboard shortcuts

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