Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func NewBcryptCrypto ¶
func NewBcryptCrypto(config *types.Config) (interfaces.Cryptographic, error)
NewBcryptCrypto creates a new Bcrypt crypto instance
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
type ConfigValidator ¶
type ConfigValidator struct {
// contains filtered or unexported fields
}
func (ConfigValidator) Validate ¶
func (v ConfigValidator) Validate(config *types.Config) interface{}
Click to show internal directories.
Click to hide internal directories.