login about faq

I try your dll for crypt:

  • New project VS 2015 c# .net 4.6 [x86]
  • NuGet chilkat-win32 ver
  • Code:

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: 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

asked Aug 30 at 10:33

A_Veronesi's gravatar image


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.


answered Aug 30 at 10:35

chilkat's gravatar image

chilkat ♦♦

Thank you. But in this way they are not able to dialogue between two programs in .net 2.0 and .net 4.6. In my case I have to talk to an external project in which using your DLL 2.0. My project is in WPF (.NET 4.6). When I send my encrypted string with blowfish2 they are not successfully decrypted.

(Aug 30 at 12:04) A_Veronesi

Therefore there is no way to connect an application .net 4.6 and already written .net 2 application with blowfish algorithm?


answered Aug 31 at 09:54

A_Veronesi's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Aug 30 at 10:33

Seen: 130 times

Last updated: Aug 31 at 09:54

powered by OSQA