Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidHash = errors.New("the encoded hash is not in the correct format") ErrIncompatibleVersion = errors.New("incompatible version of argon2") )
Functions ¶
This section is empty.
Types ¶
type Argon2IDPassword ¶
type Argon2IDPassword struct{}
func NewArgon2IDPassword ¶
func NewArgon2IDPassword() *Argon2IDPassword
type MockPassword ¶
MockPassword is an autogenerated mock type for the Password type
func NewMockPassword ¶
func NewMockPassword(t interface { mock.TestingT Cleanup(func()) }) *MockPassword
NewMockPassword creates a new instance of MockPassword. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.