login about faq

Hello: One of my customers wants to encrypt files with an asymmetric algorithm. (using a digital certificate) Is it possible to use Chilkat to do that? I have read examples but the documentation says that the methods for encrypt are "aes", "des", "3des", which are symmetric algorihms. Can someone help me. An examples will be great.

Thank you Victor

asked Sep 04 '15 at 08:39

Victor%20Diego's gravatar image

Victor Diego

RSA encryption is NEVER used for the encryption of bulk data. RSA would be used to generate a symmetric encryption key for a symmetric encryption algorithm such as AES, TwoFish, Blowfish, etc. The file data is then encrypted using this symmetric key w/ the symmetric algorithm. This is what happens when a certificate is used. The reverse process is to decrypt the symmetric key using RSA, and then use the decrypted symmetric key for the decryption of the bulk data.


answered Sep 04 '15 at 08:42

chilkat's gravatar image

chilkat ♦♦

Thank you, I am sorry. I am not a expert in these matters. I know that with RSA a should not encrypt files, but the question is:is it possible to encrypt a file with a asymmetric algoritm? If yes, do you have some examples?



answered Sep 04 '15 at 08:52

Victor%20Diego's gravatar image

Victor Diego

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 04 '15 at 08:39

Seen: 1,476 times

Last updated: Sep 04 '15 at 08:52

powered by OSQA