scrypt

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCrypt

type SCrypt struct {
	Cost        int // N
	BlockSize   int // r
	Parallelism int // p
	KeyLength   int
}

SCrypt is struct to create hash.

func (SCrypt) Hash

func (s SCrypt) 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