Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoPasswdHash ¶
func GenerateRSAKeyPair ¶
func GenerateRSAKeyPair() (privateKey *rsa.PrivateKey, err error)
func MarshalToX509KeyPair ¶
func MarshalToX509KeyPair(priv *rsa.PrivateKey) (priv_der []byte, pub_pem []byte, err error)
private key returned in DER format public key returned in PEM format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.