login about faq

When I use the PKI encryption algorithm I have to choose some underlying symmetric encryption algorithm too and set it to the Pkcs7CryptAlg property. I don't set the Secret Key but I think it used for the symmetric encryption. Will I be able to decrypt the file using another software (not Chilcat) ? Where does it keep the Secret Key for the file decryption ?

asked Apr 03 '13 at 02:11

ssslab's gravatar image


According to the PKCS7 Cryptographic Standard, the symmetric encryption key is randomly generated and encrypted using the RSA public key. It is contained within the PKCS7 envelope. One key per recipient is generated and encrypted. (For example, if a PKCS7 encrypted message is intended for 3 potential recipients, each with his own private key, then the public key for each recipient is used to encrypt three separate symmetric keys, and all are stored within the PKCS7 message.) To decrypt, the RSA private key of the intended recipient is needed to decrypt the symmetric key, and then this key is used to decrypt the actual (application) data of the message.

In short, the symmetric key is encrypted/embedded, generated for one-time use, and never needs to be explicitly known or seen on either end by the application.


answered Apr 03 '13 at 08:28

chilkat's gravatar image

chilkat ♦♦

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: Apr 03 '13 at 02:11

Seen: 1,486 times

Last updated: Apr 03 '13 at 08:28

powered by OSQA