Expand description
RSA key pair generation and encoding utilities.
Ported from net/minecraft/util/Crypt.java
Enums§
- Crypt
Error - Errors that can occur during cryptographic operations
Functions§
- generate_
key_ pair - Generates a 1024-bit RSA key pair.
- public_
key_ from_ bytes - Parses an RSA public key from DER-encoded X.509 format bytes.
- public_
key_ from_ pem - Parses an RSA public key from PEM format string.
- public_
key_ to_ bytes - Converts an RSA public key to DER-encoded X.509 format bytes.
- public_
key_ to_ pem - Converts an RSA public key to PEM format string.