Register for your free account! | Forgot your password?

You last visited: Today at 11:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Blowfish help...

Discussion on Blowfish help... within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
Blowfish help...

I am planing to make a server client communication and encrypt the messages using blowfish so which mode is best for the most security

ECB
CBC
CRT

Please tell me which is the best for the most security. also i plan to save the key in each the client and server (so even if the client has been decompiled and the key is leeched , it will not work cuz the server key has been changed)
badguy4you is offline  
Old 07/28/2012, 18:06   #2


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,445
Received Thanks: 1,176
Quote:
Originally Posted by badguy4you View Post
I am planing to make a server client communication and encrypt the messages using blowfish so which mode is best for the most security

ECB
CBC
CRT

Please tell me which is the best for the most security. also i plan to save the key in each the client and server (so even if the client has been decompiled and the key is leeched , it will not work cuz the server key has been changed)
Electronic codebook (ECB) is poor. As the stream is separated in blocks that are independently encrypted with the same key, it is a repetitive encryption. So, patterns will be easily found in the encrypted output.

Cipher-block chaining (CBC) is similar to cipher feedback (CFB), but with more flaws than CFB. CFB is not good for parallel encryption, but use a propagation mode, so, there is no pattern with time. Note that if only one bit is loss, the whole decryption will fail. It is a really sensible mode. Don't use CBC. CFB is a good mode and for an example of Blowfish using CFB mode, you can look at both my C# and C++ implementations.


Counter (CTR) is widely accepted and its weaknesses are mostly due to the cipher and not the mode. So, there is still some working attack on the mode, but it's secure.




The first image is the original one. The second one is encrypted with ECB (you can clearly see the weakness of the mode). The third one is encrypted with CBC and you can still distinguish a bit the Nux. So, CBC is also a bit weak.
Take a look to CTR or CFB. It's the best of your first ones.
CptSky is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
blowfish
02/25/2012 - SRO Private Server - 4 Replies
Hello, any one can help me search blowfish key in Bloody-Lotus
CO2 Blowfish.
02/15/2012 - CO2 Programming - 3 Replies
Hum, which padding is used by the Blowfish algorithm to get a valid block size? Anyone know? It's the only thing I have to do to get a valid C# implementation. I read that OpenSSL uses PKCS#5, but it seems to be invalid.
[HELP] DWO Blowfish key
09/25/2011 - SRO Private Server - 2 Replies
Hello, I need Dream World blowfish key media.pk2, who can help with it? Thanks :handsdown:
[help]blowfish
10/15/2009 - Lineage 2 - 0 Replies
hello i haven't idea how to find blowfish in server any idea?



All times are GMT +1. The time now is 11:27.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.