Documentation ¶
Index ¶
Constants ¶
View Source
const Binding = "cicada.hash"
View Source
const (
DriverBcrypt string = "bcrypt"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct { }
type Argon2id ¶
type Argon2id struct {
// contains filtered or unexported fields
}
func NewArgon2id ¶
NewArgon2id returns a new Argon2id hasher.
func (*Argon2id) NeedsRehash ¶
type Bcrypt ¶
type Bcrypt struct {
// contains filtered or unexported fields
}
func (*Bcrypt) NeedsRehash ¶
NeedsRehash checks if the given hash needs to be rehashed.
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (hash *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (hash *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.