scrypt

package
v0.0.0-...-b983b20 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScrypt

func NewScrypt(N, r, p int) (func(salt, password []byte) []byte, error)

NewScrypt returns a new key derivation function that uses scrypt to do the derivation. The returned key will be 32 bytes in size. If N, r, or p are invalid nil and an error are returned. See code.google.com/p/go.crypto/scrypt#Key for details on proper values for N, r, and p.

Types

This section is empty.

Jump to

Keyboard shortcuts

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