C# 3DES (Triple-DES) Test Vector

This post provides C# sample code for matching a test vector (known answer test). 3DES Settings: ECB Mode 192-bit key (i.e. 3 8-bit keys) ASCII Key Bytes: 1234567890123456ABCDEFGH ASCII Text to Encrypt: The quick brown fox jumped over the lazy dog Pads with zero bytes Hexadecimalized Encrypted Result: 13d4d3549493d2870f93c3e0812a06de467e1f9c0bfb16c0 70ede5cabbd3ca62f217a7ae8d47f2c7bf62eb309323b58b …

PHP Three-Key Triple-DES (3DES) Test Vector

This post provides PHP sample code for matching a test vector (known answer test). 3DES Settings: ECB Mode 192-bit key (i.e. 3 8-bit keys) ASCII Key Bytes: 1234567890123456ABCDEFGH ASCII Text to Encrypt: The quick brown fox jumped over the lazy dog Pads with zero bytes Hexadecimalized Encrypted Result: 13d4d3549493d2870f93c3e0812a06de467e1f9c0bfb16c0 70ede5cabbd3ca62f217a7ae8d47f2c7bf62eb309323b58b …

Permanent Unlock Code

Question: Very quick question for you about distribution. Is it a simple matter of just using this unlock code in the appropriate place in the code and adding a reference to the dll in my project? Or, do I need to include and run your MSI with the installation of …

FTP2 Events for FoxPro

The Chilkat FTP2 ActiveX has events for progress monitoring. The events may also be used to abort an FTP upload/download, or to skip files and/or directories. These are the events in Visual FoxPro terms: PROCEDURE _IChilkatFtp2Events_PutProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_GetProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_AbortCheck(abortFlag AS Number) …

FTP Unicode Directory Listings

Question: Files on the FTP server contain Unicode characters (Chinese, Japanese, Russian, etc.). How do I get the correct filenames in my (Chilkat FTP2) client? Answer: It is very dependent on the capabilities of the FTP server. Many servers are incapable of sending Unicode directory listings. If an FTP server …

Is SMTPQ an SMTP Server?

The SMTPQ service is not an SMTP server. It’s a service that watches a directory for special .eml files. When a .eml file appears, it reads it, extracts and removes information from the header and sends the email by connecting to an SMTP server. The information extracted from the .eml …

scRet: 80090305

If you find an 8-digit hexidecimal error code in your LastErrorText, the best way to understand what it may mean is to Google the error number. In this example, search for “80090305”. You may also send the contents of the LastErrorText to support@chilkatsoft.com. PS> If displaying LastErrorText in an ASP …

Using Assembly in ASP.NET – Simplest Example

This example demonstrates the simplest method for using a .NET assembly in an ASP.NET web page. 1) Create a new file “helloWorld.aspx” in your web site’s root directory. Using a text editor, add this: <%@ Page Language=”C#” %> <%@ Import Namespace=”Chilkat” %> <html> <head> <title>ASP.NET Hello World</title> </head> <body bgcolor=”#FFFFFF”> …