scryptimpl

package
v0.0.0-...-94105a5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScryptImpl

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

func New

func New(n, r, p, keyLen int) *ScryptImpl

func (*ScryptImpl) DeriveKeyByPassword

func (s *ScryptImpl) DeriveKeyByPassword(password string) (deriveKey []byte, err error)

func (*ScryptImpl) GetDeriveKeyStr

func (s *ScryptImpl) GetDeriveKeyStr() string

func (*ScryptImpl) KDFName

func (s *ScryptImpl) KDFName() string

func (*ScryptImpl) VerifyDeriveKeyStr

func (s *ScryptImpl) VerifyDeriveKeyStr(kdfKeyStr string, password []byte) (isOk bool, err error)

Jump to

Keyboard shortcuts

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