Contents | Previous | Next
icon

Basics: Asymmetric Encryption

Asymmetric: encryption and decryption use different keys

Reversible
Allows public knowledge of encryption key
PHP needs OpenSSL extension

RSA

I give you my public key.
You encrypt a value with my public key, and send it to me.
The only way to decrypt it is with my private key (which only I have).