Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BcryptImpl ¶
type BcryptImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(cost int) *BcryptImpl
func (*BcryptImpl) DeriveKeyByPassword ¶
func (b *BcryptImpl) DeriveKeyByPassword(password string) (deriveKey []byte, err error)
func (*BcryptImpl) GetDeriveKeyStr ¶
func (b *BcryptImpl) GetDeriveKeyStr() string
func (*BcryptImpl) KDFName ¶
func (b *BcryptImpl) KDFName() string
func (*BcryptImpl) VerifyDeriveKeyStr ¶
func (b *BcryptImpl) VerifyDeriveKeyStr(kdfKeyStr string, password []byte) (isOk bool, err error)
Click to show internal directories.
Click to hide internal directories.