Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { Username string Password string Salt string HMACPassword string RPCAuth string }
func (*Credentials) Generate ¶
func (c *Credentials) Generate() (string, error)
func (*Credentials) GeneratePassword ¶
func (c *Credentials) GeneratePassword() (string, error)
func (*Credentials) GenerateSalt ¶
func (c *Credentials) GenerateSalt(size int) (string, error)
func (*Credentials) PasswordToHmac ¶
func (c *Credentials) PasswordToHmac(salt, password string) string
Click to show internal directories.
Click to hide internal directories.