How to tell if Data is AES Encrypted Data?

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 (AES, Blowfish, Triple-DES, etc.) is […]

About Self-Extracting EXE’s

A few issues relating to self-extracting EXE’s are explained here: The Purpose of a Self-Extracting EXE The purpose of a self-extracting EXE is to provide something that will extract/unpackage files such that no other software is required to be installed on the computer where it is run. Common archive file formats, such as .zip, .tar, etc., all require some sort […]

Perl: undefined symbol: Perl_Gthr_key_ptr

Question: I try to install the Chilkat Perl library into my Linux but I get this error: “/usr/lib/perl5/site_perl/5.8.8/libchilkat.so: undefined symbol: Perl_Gthr_key_ptr” Answer: The Chilkat library is supports multi-threading, so when building Perl one must use the “Multi-Threading” option.

Using Chilkat for Java in Eclipse on Windows

Here are the steps I followed to use Chilkat’s Java library in an Eclipse project on Windows: Open Project->Properties, select “Java Build Path”, click on the “Add External JARs…” button and add the “chilkat.jar” (still within the Project Properties dialog) Click on the “Run/Debug Settings”, select your Java class, then click on the “Edit…” button.  Select the “Arguments” tab, then […]

VB6 FTP File Upload Progress Monitoring

Question: I’ve been trying to get the progress bar in VB6 to work, based on the code on your website, but I’m having no luck.  The event isn’t even being triggered. Answer: Here are some things to try: Test progress monitoring with a large enough file  such that the progress does not go from 0 to 100% instantly. Use the […]

SFTP Permission Denied w/ OpenFile Method

Question: We are trying to upload a file to SFTP using private key. We are able to connect and retrieve folder listing. But when we try to upload to one of the folder on the SFTP we get the “Permission denied” error message. The message is as below. ChilkatLog: OpenFile: DllDate: Feb 15 2010 UnlockPrefix: **** Username: joe Component: .NET […]

GMail Labels are just IMAP Mailboxes

Question: I’m going to be using them in VB.Net to process a GMail inbox. In GMail they use Labels instead of folders. Are the labels that belong to an email visible via your tool? Ideally the VB application would process the inbox, and perform actions based on the label. Answer: I investigated and it refreshed my memory. GMail “labels” are […]

RSA – Matching OpenSSL Signature w/ Chilkat

The following problem is common. The goal is to match the signature produced by this OpenSSL command w/ Chilkat: cat in.txt | openssl dgst -sha1 -sign myPrivateKey.pem | openssl enc -base64 The “gotcha” is when the input text file ends with a linefeed character (a single byte having value 0x0A), but the programmer does not realize it. The bytes passed […]