Documentation ¶
Index ¶
Constants ¶
View Source
const SaltByteSize = 20
SaltByteSize specifies the number of bytes used for the salt.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Salt ¶
type Salt struct {
// contains filtered or unexported fields
}
Salt encapsulates high level functions around salt management.
func FromProto ¶
FromProto decodes a given proto buffer Salt message (in) and returns the corresponding Salt.
func (*Salt) GetExpiration ¶
Click to show internal directories.
Click to hide internal directories.