scrypt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScryptDefault = "SCRYPTDEFAULT" // Default-strength scrypt
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scrypt

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

func (Scrypt) Compute

func (s Scrypt) Compute(v []byte) ([]byte, error)

func (Scrypt) Verify

func (s Scrypt) Verify(challenge, attempt []byte) bool

Jump to

Keyboard shortcuts

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