Asymmetric Encryption: RSA & ECDH Tool
This tool simulates how two parties (A and B) can securely generate a shared secret by exchanging their public keys.
Participants A
Participants B
Ready
Tool Description
Asymmetric EncryptionUses a pair of keys: a public key and a private key. The public key can be freely distributed, while the private key must be kept secret. This tool provides two main applications of asymmetric encryption.
- RSA-OAEP:is a secure asymmetric encryption scheme, often used to encrypt small amounts of data (like a session key). You encrypt with the recipient's public key, and the recipient decrypts with their own private key.
- ECDH (Elliptic-curve Diffie-Hellman (ECDH)): A key exchange protocol. It allows two parties, with no prior shared secret, to establish a shared secret key over an insecure channel by exchanging some information (their public keys). This shared secret can then be used for symmetric encryption (e.g., AES).
All key generation, encryption, and decryption operations are performed locally in your browser. Your data and keys are absolutely secure and are never sent to any server.