TOOLS / ENCRYPTION

RSA DER Public Key

Encode and decode PKCS#1 public keys.

Positive unsigned input. A leading 00 sign byte is added when required.

Calculator reference

Verification evidence and limitations →

What it calculates

Encodes or decodes a PKCS#1 RSA public-key structure.

Inputs and methods

HEX modulus and exponent, or a DER sequence containing two INTEGER values.

Worked example

Encode toy modulus 0CA1 and exponent 11.

300702020CA1020111

Specification and limits

This toy key is not secure. The decoder expects PKCS#1, not a SubjectPublicKeyInfo wrapper.

RFC 8017 ↗