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