Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeParams ¶
EncodeParams encodes a map of parameters into a string. It sorts the keys to ensure a consistent output string.
Types ¶
type Decoder ¶ added in v1.1.0
type Decoder interface {
// Decode decodes a string into hash parts
Decode(encoded string) (*types.HashParts, error)
}
Decoder defines the interface for hash decoding operations
type Encoder ¶ added in v1.1.0
type Encoder interface {
// Encode encodes salt and hash into a string
Encode(parts *types.HashParts) (string, error)
}
Encoder defines the interface for hash encoding operations
Click to show internal directories.
Click to hide internal directories.