Documentation ¶
Overview ¶
* from https://github.com/golang-samples/cipher/blob/master/crypto/rsa_keypair.go * Generates a private/public key pair in PEM format (not Certificate) * * The generated private key can be parsed with openssl as follows: * > openssl rsa -in key.pem -text * * The generated public key can be parsed as follows: * > openssl rsa -pubin -in pub.pem -text
Click to show internal directories.
Click to hide internal directories.