package
0.0.0-20241220230325-193e05bca902
Repository: https://github.com/egdaemon/eg.git
Documentation: pkg.go.dev

# Functions

Auto generates a RSA key using package defined defaults.
No description provided by the author
AutoDerive ...
CachedAuto loads/generates an RSA key at the provided filepath.
CachedAutoDeterministic loads/generates an RSA key at the provided filepath.
CachedGenerate loads/generates an SSH key at the provided filepath.
Decode decode a RSA private key.
No description provided by the author
DecodePKCS1PrivateKey decode PEM to x509.PKCS1PrivateKey bytes.
Deterministic rsa private key based on the seed.
FingerprintSHA256 of the key.
Generate a RSA private key with the given bits size, returns the pem encoded bytes.
MaybeDecode decodes RSA from an encoded array and possible error.
NewSHA512CSPRNG generate a csprng using sha512.
PublicKey returns a public key from the pem encoded private key.
UnsafeAuto generates a ssh key using unsafe defaults, this method is used to generate an ssh key quickly for cases were we do not care about safety, i.e.