Question:
I try your dll for crypt:
using (Chilkat.Crypt2 crypto = new Chilkat.Crypt2()) { crypto.UnlockComponent("Start my 30-day Trial"); crypto.VerboseLogging = true;
crypto.CryptAlgorithm = "blowfish";
crypto.EncodingMode = "Base64";
crypto.Charset = "unicode";
crypto.SecretKey = new UnicodeEncoding().GetBytes(CRYPTO_KEY);
string encrypt = crypto.EncryptStringENC(DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss"));
string error = crypto.LastErrorHtml;
}
Result is always:
ChilkatLog: CryptAlgorithm: DllDate: Jun 13 2016 ChilkatVersion: 9.5.0.58 UnlockPrefix: Start my 30-day Trial Architecture: Little Endian; 32-bit Language: Visual C++ 12.0 (32-bit) VerboseLogging: 1 encryptionId: 3 algorithmStr: blowfish --CryptAlgorithm --ChilkatLog
Use "blowfish2".
See the online reference documentation.
The original Chilkat implementation of Blowfish has a 4321 byte-swapping issue (the results are 4321 byte-swapped). The new implementation ("blowfish2") does not byte swap. This should be used for compatibility with other Blowfish software.
Therefore there is no way to connect an application .net 4.6 and already written .net 2 application with blowfish algorithm?