Documentation ¶
Overview ¶
Implementation of SCRAM (RFC 5802)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { Username string ServerKey []byte // HMAC(SaltedPassword, "Server Key") StoredKey []byte // H(ClientKey) Salt []byte Iteration int // contains filtered or unexported fields }
func NewCredential ¶
type Scram ¶
type Scram struct {
// contains filtered or unexported fields
}
func (*Scram) GenServerFinal ¶
func (*Scram) GenServerFirst ¶
func (*Scram) ParseClientFinal ¶
func (*Scram) ParseClientFirst ¶
Click to show internal directories.
Click to hide internal directories.