Chilkat v11.5.0 Release Notes

Pinned June 2, 2026

  ✨ New Features HttpCurl A new Chilkat class has been added: HttpCurl The Chilkat.HttpCurl class executes curl commands and can automatically resolve dependent values needed by a request. Variables such as {{access_token}}, {{site_id}}, or {{drive_id}} may appear in URLs, headers, query parameters, or request bodies. If a variable is not yet known, HttpCurl builds […]

Chilkat v11.4.0 Release Notes

Pinned April 1, 2026

  ✨ New Features Js A new Chilkat class has been added: Js is a minimal, standards-compliant JavaScript engine designed to embed JavaScript inside applications with very small footprint and fast startup. It executes JavaScript code inside an application without requiring a browser or large runtime. See About the Chilkat.Js JavaScript Engine Ai Provider — […]

RSA Encryption Maximum Number of Bytes

January 3, 2025 in RSA

The maximum number of bytes you can encrypt using RSA depends on the key size and the padding scheme. 1. Key Size The RSA key size determines the maximum size of the plaintext that can be encrypted. The larger the key size (e.g., 1024, 2048, 4096 bits), the larger the block of plaintext that can […]

How to Encrypt with no Padding (encrypted output size equals input size)

June 11, 2018 in Uncategorized

Block encryption algorithms, such as AES, will produce output that is a multiple of the algorithm’s block size. For AES, the output is a multiple of 16 bytes. However, this is for the typically used cipher modes “CBC” (Cipher Block Chaining) and “ECB” (Electronic Cookbook). There are other cipher modes that turn a block algorithm […]

Posts about Matching Encryption Output for Different Systems

July 31, 2012 in Uncategorized

http://www.chilkatsoft.com/p/p_123.asp http://www.chilkatsoft.com/p/p_506.asp http://www.chilkatsoft.com/p/p_103.asp http://www.chilkatsoft.com/p/p_459.asp http://www.chilkatsoft.com/p/p_458.asp http://www.chilkatsoft.com/p/p_457.asp http://www.chilkatsoft.com/p/p_355.asp http://www.chilkatsoft.com/p/p_160.asp http://www.chilkatsoft.com/p/p_102.asp http://www.chilkatsoft.com/p/php_aes.asp

Format of AES, Blowfish, Twofish, 3DES, etc. Symmetric Encrypted Data?

November 8, 2011 in Uncategorized

Question: I know it isn’t listed in the documentation, but is there any method to test whether a file has been previously encrypted or not?  I would like to perform decryption on a file, but only if it is already encrypted. Answer: A symmetric encryption algorithm is simply a transformation of bytes such that the […]

How to tell if Data is AES Encrypted Data?

December 13, 2010 in Uncategorized

Question: I really like your component but there’s one problem with Crypt2. Is there anyway to verify if the file is encrypted before decrypt? I’m asking this question is because if I try to decrypt an unencrypted file, that file will be corrupted. Answer: The output of any Chilkat Crypt2 method that does symmetric encryption […]

Getting Started with AES Decryption

March 1, 2010 in Uncategorized

This is a common question: You receive encrypted data and a key and want to decrypt. The person providing the encrypted data has provided little information, perhaps only that the encryption algorithm is AES. Where to do you begin, and what additional information, if any, do you need? Answer: AES encryption comes in 3 key […]

Encryption Progress Monitoring

February 10, 2010 in Uncategorized

Question: Is there a way to encrypt a file with progress monitoring?  Huge files can take a while and it seems like the app is hanging. Answer: Yes, here is the sample VB6 code: Public WithEvents myCrypt As ChilkatCrypt2 ‘ …. Private Sub myCrypt_PercentDone(ByVal pctDone As Long) ProgressBar1.Value = pctDone End Sub Private Sub Command2_Click() […]

Matching MySQL’s AES_ENCRYPT Functions

February 28, 2009 in Uncategorized

The following example programs demonstrate how to match MySQL’s AES_ENCRYPT function in different programming languages: ASP: Match MySQL AES_ENCRYPT Function SQL Server: Match MySQL AES_ENCRYPT Function C#: Match MySQL AES_ENCRYPT Function C++: Match MySQL AES_ENCRYPT Function MFC: Match MySQL AES_ENCRYPT Function C: Match MySQL AES_ENCRYPT Function Delphi: Match MySQL AES_ENCRYPT Function Visual FoxPro: Match MySQL […]

Block Encryption Algorithms and Encoding

February 18, 2009 in Uncategorized

Question: In our application we have the need to encrypt a 19 character simple string value. When running through the sample test program I found that the resulting encrypted string varied in size from at least 44 to 64 characters depending on the encoding type parameter. Is there a way to generate an encrypted value […]

Encrypting Chinese Characters

January 26, 2009 in Uncategorized

Question: Why is it the return is blank when encrypting chinese characters? Here’s a snippet of my code: crypt.KeyLength := 256; crypt.SecretKey := Password; crypt.CryptAlgorithm := ‘aes’; crypt.EncodingMode := ‘base64’; OutPutStr := crypt.EncryptStringENC(StringToEncrypt); Answer: Strings in some programming languages such as Visual Basic, C#, VB.NET, Delphi, Foxpro, etc. should be thought of as objects.  The […]