Hi,

Is it possible to use AES en-decryption using asymmetric keys(private and
public keys)



Hi Dorai,

The short answer is no. AES is a block cipher based on symmetric keys. But
note, practically all secure conversations start out using asymmetric keying
first.

Symmetric keying processes are faster processes, you want to use them in
communication (in general). But they require a shared key between the
parties (encrypt/decrypt use the same key). So Alice and Bob need to know
the same key to communicate. The problem is, Alice cannot tell Bob what the
key is in the clear, because everybody can eavesdrop.

This is why most secure conversations employ a security handshake. They
start out using a public/private keying process (such as RSA), where you can
freely give out your public key, only you know your private key. So...Alice
gives Bob her public key, he creates a symmetric key for AES, encrypts it
with her public (RSA) key and sends it back. The message can only be
decrypted by her private key and only Alice has that. 

Once she has decrypted it, Alice and Bob can start using the symmetric
process for communication.

- Bryce
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to