Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PasswordHash ¶
PasswordHash hashes a plaintext string and returns an argon2 hash byte slice
func RandomString ¶
func RandomString() string
RandomString returns a securely generated random string
Types ¶
type DNSSECKey ¶
type DNSSECKey struct { Base string `json:"base"` // base key filename prefix Key string `json:"key"` // DNSKEY Private string `json:"private"` // private key DSKeyTag int `json:"dskeytag"` // DS key tag DSAlgo int `json:"dsalgo"` // DS algorithm DSDigestType int `json:"dsdigesttype"` // DS digest type DSDigest string `json:"dsdigest"` // DS digest DSRecordString string `json:"dsrecordstring"` // full DS record in zone file format }
DNSSECKey stores all attributes for a DNSSEC signing key
Click to show internal directories.
Click to hide internal directories.