MicrolearnENPTES

RSA: public-key encryption

Lesson 15 of 20 · Cipher.Micro

A public key locks, only the private key unlocks.

Encrypt with (n, e), decrypt with (n, d)

Anyone can use the public key to encrypt a number m: c = m^e mod n. Only the owner of the private key d can compute m = c^d mod n. Watch the table fill in.

Check yourself

Who can encrypt a message to you with RSA?

Do it in the browser: a real cryptography tool, a short mission and instant feedback. No install.

Start this lesson — free
← Key exchangeDigital signatures →

All lessons · Cipher.Micro