pbkdf2impl

package
v0.0.0-...-5dea246 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pbkdf2Impl

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

func New

func New(iterations, keyLen int) *Pbkdf2Impl

func (*Pbkdf2Impl) DeriveKeyByPassword

func (p *Pbkdf2Impl) DeriveKeyByPassword(password string) (deriveKey []byte, err error)

func (*Pbkdf2Impl) GetDeriveKeyStr

func (p *Pbkdf2Impl) GetDeriveKeyStr() string

func (*Pbkdf2Impl) KDFName

func (p *Pbkdf2Impl) KDFName() string

func (*Pbkdf2Impl) VerifyDeriveKeyStr

func (p *Pbkdf2Impl) 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