package
0.0.0-20250218190523-b123c3ebbebe
Repository: https://github.com/paulwaldo/building-microservices-with-go.git
Documentation: pkg.go.dev

# README

crypto

CircleCI

Helper package for public key cryptography

# Functions

GenerateRandomString with crypto/rand.
UnmarshalRSAPrivateKeyFromFile reads the given file and returns a PrivateKey.
UnmarshalRSAPublicKeyFromFile reads the given file and returns a PublicKey.

# Constants

BlockPrivateKey contains the vlaue which defines a PrivateKey in a PEM block.
BlockPublicKey contains the value which defines a Public Key in a PEM block.