Public key

Public-key encryption

Public-key encryption lets anyone encrypt a message to a recipient's public key so that only the private-key holder can read it. This category covers the modern HPKE framework and legacy RSA encryption.

32 algorithms 20 families

Encrypting data directly with RSA is limited to short messages, so practical systems use hybrid encryption: an asymmetric step establishes a symmetric key, and an authenticated cipher encrypts the data. HPKE standardises this pattern with a KEM, a KDF and an AEAD.

RSA encryption remains for legacy interoperability. OAEP padding is acceptable when implemented carefully, while PKCS #1 v1.5 encryption padding has a long history of practical padding-oracle attacks.

Families

20
RSA-OAEPlegacy

RSA encryption with Optimal Asymmetric Encryption Padding (PKCS #1 v2)

3 variants · rsa-oaep-2048 rsa-oaep-3072 rsa-oaep-4096
RSA PKCS #1 v1.5 encryptionbroken

Legacy RSA encryption padding, exposed to Bleichenbacher padding-oracle attacks

3 variants · rsa-pkcs1v15-enc-2048 rsa-pkcs1v15-enc-3072 rsa-pkcs1v15-enc-4096
CompactLWE Round 1unverified

A round-1 learning-with-errors public-key encryption scheme with compact 2064-byte public keys

1 variant · compact-lwe-public-key-enc-r1
Giophantus Round 1unverified

Three round-1 public-key encryption parameter sets with public keys from 14 KB to 27 KB

3 variants · giophantus-iec1134-pke-r1 giophantus-iec602-pke-r1 giophantus-iec868-pke-r1
Guess Again Round 1unverified

A round-1 public-key encryption scheme with a 4000-byte public key and very large ciphertexts

1 variant · guessagain-pke-r1
HPKEunverified

Hybrid Public Key Encryption: a KEM, a KDF and an AEAD combined per RFC 9180

3 variants · hpke-p256-sha256-aes128gcm hpke-x25519-sha256-aes128gcm hpke-x25519-sha256-chacha20poly1305
KINDI PKE Round 1unverified

The round-1 KINDI public-key encryption family, with four parameter sets in the archive

5 variants · kindi-256-3-4-2-pke-r1 kindi-256-5-2-2-pke-r1 kindi-512-2-2-2-pke-r1 kindi-512-2-4-1-pke-r1 kindi-512-3-2-1-pke-r1
McNie3-q1281unverified

A McNie public-key encryption parameter set with a 431-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q1281
McNie3-q1282unverified

A McNie public-key encryption parameter set with a 486-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q1282
McNie3-q1921unverified

A McNie public-key encryption parameter set with a 569-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q1921
McNie3-q1922unverified

A McNie public-key encryption parameter set with a 631-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q1922
McNie3-q2561unverified

A McNie public-key encryption parameter set with an 819-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q2561
McNie3-q2562unverified

A McNie public-key encryption parameter set with an 829-byte public key and about 100 KB ciphertexts

1 variant · mcnie3q2562
McNie4-q1281unverified

A McNie4 public-key encryption parameter set with a 347-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q1281
McNie4-q1282unverified

A McNie4 public-key encryption parameter set with a 417-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q1282
McNie4-q1921unverified

A McNie4 public-key encryption parameter set with a 487-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q1921
McNie4-q1922unverified

A McNie4 public-key encryption parameter set with a 539-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q1922
McNie4-q2561unverified

A McNie4 public-key encryption parameter set with a 630-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q2561
McNie4-q2562unverified

A McNie4 public-key encryption parameter set with a 647-byte public key and about 100 KB ciphertexts

1 variant · mcnie4q2562
SRTPI Round 1unverified

A round-1 public-key encryption scheme with a 268 KB public key and a 2.1 MB secret key

1 variant · srtpi-pke-r1