Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func DefaultParams ¶
func DefaultParams() interfaces.Params
func NewBcrypt ¶ added in v0.3.18
func NewBcrypt(config *types.Config) (interfaces.Cryptographic, error)
Types ¶
type Bcrypt ¶
type Bcrypt struct {
// contains filtered or unexported fields
}
Bcrypt implements the Bcrypt hashing algorithm
func (*Bcrypt) HashWithSalt ¶
HashWithSalt implements the hash with salt method WARNING: Manually concatenating salt for Bcrypt is INSECURE as Bcrypt handles salt internally. This implementation is for framework consistency, but should be used with caution.
Click to show internal directories.
Click to hide internal directories.