Documentation
¶
Index ¶
- Constants
- func DeriveED25519PublicKey(priv []byte) (string, error)
- func DeriveRSAPublicKey(priv []byte, size KeyLength) (string, error)
- func GenED25519() ([]byte, string, error)
- func GenRSA(size KeyLength) ([]byte, string, error)
- func GenTXTValue(pub string, keyType KeyType) string
- type KeyLength
- type KeyType
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func DeriveED25519PublicKey ¶ added in v1.3.2
DeriveED25519PublicKey computes the ed25519 public key from the private key.
func DeriveRSAPublicKey ¶ added in v1.3.2
DeriveRSAPublicKey computes the RSA public key from the private key.
func GenED25519 ¶
GenED25519 generates an ed25519 key pair.
func GenTXTValue ¶
GenTXTValue generates the DKIM record for the given public key.
Types ¶
Click to show internal directories.
Click to hide internal directories.