argon2impl

package
v0.0.0-...-b0d9e68 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 Argon2Impl

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

func New

func New(time, memory, threads, keyLen int) *Argon2Impl

New - new a Argon2Impl

func (*Argon2Impl) DeriveKeyByPassword

func (a *Argon2Impl) DeriveKeyByPassword(password string) (deriveKey []byte, err error)

func (*Argon2Impl) GetDeriveKey

func (a *Argon2Impl) GetDeriveKey() []byte

func (*Argon2Impl) GetDeriveKeyStr

func (a *Argon2Impl) GetDeriveKeyStr() string

func (*Argon2Impl) KDFName

func (a *Argon2Impl) KDFName() string

func (*Argon2Impl) VerifyDeriveKeyStr

func (a *Argon2Impl) 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