login about faq

Dear All,

I am evaluating the Chilkat library for an Android Application Development. In this regard, I came across some example for using CkMime for encryption of Emails. Here is the snippet:

CkCert cert = new CkCert();
success = cert.LoadFromFile("myCert.cer");
if (success == false) {
    outStr += cert.lastErrorText() + "\n";
    tv.setText(outStr);
    setContentView(tv);
    return;
}

//  Encrypt the MIME:
success = mime.Encrypt(cert);
if (success == false) {
    outStr += mime.lastErrorText() + "\n";
    tv.setText(outStr);
    setContentView(tv);
    return;
}

Now my question is: what is the default symmetric encryption algorithm used by Encrypt and EncryptN methods?

Thanks.

asked Aug 06 '13 at 11:18

ter's gravatar image

ter
1111

edited Aug 07 '13 at 07:23


All Chilkat classes that do PCKS7 encryption have two standard properties:

(string) Pkcs7CryptAlg
(int) Pkcs7KeyLength

Classes having these properties include CkCrypt2, CkMime, and CkEmail. The default values are "RC2" / 128. Your application can set these properties to control the underlying symmetric encrytion algorithm. See the reference documentation here for the list of possible values: http://www.chilkatsoft.com/refdoc/vcCkMimeRef.html

link

answered Aug 07 '13 at 09:48

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×98
×64
×15

Asked: Aug 06 '13 at 11:18

Seen: 1,300 times

Last updated: Aug 07 '13 at 09:48

powered by OSQA