One shared key or a key pair
AES is symmetric: the parties use the same secret key for encryption and decryption. RSA is asymmetric and uses a public/private key pair within a defined encryption or signature scheme. A public key can be shared; a private key must remain protected. These are different trust and distribution models, not interchangeable dropdown choices.
Comparing AES-256 with an RSA modulus using the same numeric bit count is misleading. Key sizes refer to different mathematical constructions. Choose a reviewed protocol and supported parameters rather than matching numbers.
Why systems combine them
A hybrid system can encrypt a message with a random symmetric key and protect that key using an asymmetric mechanism. This avoids trying to encrypt arbitrary large files directly with a public-key primitive. Real protocols must also define authentication, padding, metadata and key validation.
The AES website performs symmetric encryption only. It does not accept an RSA public key, create a hybrid envelope or verify an RSA signature. The file package uses a password-derived AES-GCM key, not RSA-wrapped key material.
Encryption is not a signature
A signature addresses a different task from confidentiality. AES-GCM authenticates a message under a shared secret, but everyone holding that secret can produce valid authenticated messages. A public-key signature has different verification and trust rules. Neither operation automatically establishes a human identity without a trusted way to obtain the relevant key.
Do not paste a PEM certificate into the raw AES key field. A PEM document is a structured object, not 16, 24 or 32 raw AES key bytes. A byte-length error is the appropriate outcome, not a reason to cut the PEM string shorter.
Choose a workflow you can recover
Use this site's password package for a local, versioned symmetric workflow. If your application requires recipient public keys, use a mature implementation of its established envelope format. Test recovery, protect keys separately and document who can decrypt. There is no RSA feature or key-conversion promise hidden behind this comparison guide.
Related tools and reading
- Encrypt text
- Decrypt text
- Encrypt a file
- Generate a key
- What Is AES Encryption? Keys, Blocks and Recovery
- AES-GCM vs CBC vs CTR: Authentication and Parameters
- AES-128 vs AES-192 vs AES-256: Bytes and Encodings
Technical references
Updated October 16, 2026