bcryptimpl

package
v0.0.0-...-7c3036a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL