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)
Click to show internal directories.
Click to hide internal directories.