rpc

package
v0.0.0-...-2b6d021 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL