You do not have many chances of getting the key. The only attacks that I see are: leverage on flaws in the implementation of the encryption. Blowfish is a block cipher, as such it encrypts only blocks of fixed size. In order to encrypt variable length files, you need a mode of operation and a padding scheme. In your post you do not tell which if these have been used for your files, but some of the few successful attacks …
Imports System Imports System.IO Imports NCiphers.Ciphers Class Blowfish_Exceptions Public Shared Sub Main(args As String()) Dim Blowfish As New Blowfish() ' 16 bytes long key for Blowfish encryption Dim key As Byte() = {50, 199, 10, 159, 132, 55, 236, 189, 51, 243, 244, 91, 17, 136, 39, 230} Try Blowfish.EncryptFile(New FileInfo("Data Key Key-K (Little Kid/Big Kid) $24.99 MSRP: $49.99. Blowfish. Randall SHR. $34.99 MSRP: $69.00. Blowfish. Blowfish Kids. Katti-K SHR (Little Kid/Big Kid) $21.00 ::blowfish::Reset Key iv Reset the initialization vector. This permits the programmer to re-use a key and avoid the cost of re-generating the key schedule where the same key data is being used multiple times. ::blowfish::Final Key This should be called to clean up resources associated with Key. Once this function has been called the key may not Encrypts a string using various algorithms (e.g. Blowfish, DES, TripleDES, Enigma). This tool uses the mcrypt_encrypt() function in PHP, so for more infos about the parameters used check the manual. You might also like the online encrypt tool. The algorithm Edit. Blowfish has a 64-bit block size and a variable key length from 32 up to 448 bits. It is a 16-round Feistel cipher and uses large key-dependent S-boxes.It is similar in structure to CAST-128, which uses fixed S-boxes. Blowfish is a symmetric block cipher designed by Bruce Schneier. It has a fixed data block size of 8 bytes and its keys can vary in length from 32 to 448 bits (4 to 56 bytes). Blowfish is deemed secure and it is fast. However, its keys should be chosen to be big enough to withstand a brute force attack (e.g. at least 16 bytes).
You can find a c# implementation of the blowfish algorithm here. – ntziolis Apr 21 '10 at 9:09. Have you got a really good reason for not using .NETs built in AES encryption? – Patrick Apr 21 '10 at 20:17. It is beeing forced upon us by our customer. So we are sort of stuck with it.
Blowfish is a symmetric encryption algorithm, meaning that it uses the same secret key to both encrypt and decrypt messages. Blowfish is also a block cipher, meaning that it divides a message up into fixed length blocks during encryption and decryption. X-Cart:Blowfish - X-Cart 4 Classic Blowfish key based encryption method is enabled by default; it cannot be disabled. With this method, the above said types of data in the database are encrypted using the so-called Blowfish key - a special key stored in your X-Cart's main configuraton file config.php (see the $blowfish_key variable). Eksblowfish Algorithm - USENIX
Blowfish encryption and decryption with C# and VB.NET
Imports System Imports System.IO Imports NCiphers.Ciphers Class Blowfish_Exceptions Public Shared Sub Main(args As String()) Dim Blowfish As New Blowfish() ' 16 bytes long key for Blowfish encryption Dim key As Byte() = {50, 199, 10, 159, 132, 55, 236, 189, 51, 243, 244, 91, 17, 136, 39, 230} Try Blowfish.EncryptFile(New FileInfo("Data Key Key-K (Little Kid/Big Kid) $24.99 MSRP: $49.99. Blowfish. Randall SHR. $34.99 MSRP: $69.00. Blowfish. Blowfish Kids. Katti-K SHR (Little Kid/Big Kid) $21.00 ::blowfish::Reset Key iv Reset the initialization vector. This permits the programmer to re-use a key and avoid the cost of re-generating the key schedule where the same key data is being used multiple times. ::blowfish::Final Key This should be called to clean up resources associated with Key. Once this function has been called the key may not