Documentation ¶
Index ¶
- type Argon2Impl
- func (a *Argon2Impl) DeriveKeyByPassword(password string) (deriveKey []byte, err error)
- func (a *Argon2Impl) GetDeriveKey() []byte
- func (a *Argon2Impl) GetDeriveKeyStr() string
- func (a *Argon2Impl) KDFName() string
- func (a *Argon2Impl) VerifyDeriveKeyStr(kdfKeyStr string, password []byte) (isOk bool, err error)
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 (*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)
Click to show internal directories.
Click to hide internal directories.