in blowfish when i encrypt some text with the same key every time it gives me different value
ex.
Code:
Key = EPVP
plainText = badguy4you
every time i encrypt plainText with (EPVP) it give me a different value and only (EPVP) can decrypt it(in blowfish)
on the other hand when i try AES256 with the same credentials (CBC mode)
if the key is the same it gives the same result @ every encryption
NOTE(i dont want to generate random key every time cuz i am creating server \ client communication and i want to store the key in both of them so only the one with that key could encrypt the Messages)--OR tell me a good way to use AES in server client communication--
So the question is : how could i make AES encrypt the same text with the same key every time but giving non equal values (like BLOWFISH)
same key, same text, different result, sounds legit.
And sounds ur a donkey !
you ever tried blowfish ?
ECB :The disadvantage of this method is that identical plaintext blocks are encrypted into identical ciphertext blocks
The results of ECB - Same Message Encrypted 10 Times (Results in HEX)
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
3F 89 AD 58 3C C8 21 CD
This encryption is deterministic since the same input always results in the same output. Without knowing the actual message, we know that the message is 8 bytes long and repeated 10 times. It’s the way ECB works and it has some advantages and disadvantages:
___________________________________
CBC : IBM invented the cipher-block chaining (CBC) mode of operation in 1976.[5] In CBC mode, each block of plaintext is XORed with the previous ciphertext block before being encrypted. This way, each ciphertext block depends on all plaintext blocks processed up to that point. To make each message unique
The results of CBC -- Same Message Encrypted 10 Times (Results in HEX)
B1 2C 46 D5 E1 73 E3 52
22 1F BA 57 F1 83 F3 4A
63 2F 21 37 4D 9E 93 55
40 BE AA C9 58 2F 5A 5D
FA 84 60 45 9C 99 AB 6F
C5 71 70 52 61 4A DA E8
21 00 0F 93 35 6C AC 45
EA C4 6E 3C EA 50 83 A7
FF 1A 28 9F 7C 69 49 ED
EF 88 CA 25 F6 F2 98 1C
As you can see, the repetitions are gone, even though you are encrypting 10 times the same message. The advantage is clear: you cannot deduce the plaintext by looking at the encrypted blocks separately. However, it has some consequences:
___________________
So its a small search got me that dont just replay to increase your posts with shits as i told you before and if you dont know anything about encrypting go learn about it , otherwise if you just entering my threads to SHIT dont do that again i am begging you
Meh, I really forgot about that, shame on me But a 'part' of the key actually changes, don't forget that
You answered your own question, good job. Looks like googling instead of asking nonstop helps, doesn't it?
You are right but the problem with me is with AES i already achieved this with Blowfish , i am using Blowfish with same key in client and server and same messages are encrypted in different ways every time
but in AES not , Although i am using the chaining mode CBC , i still get same result , not like BLOWFISH
Flyff v17 möglicher SourceCode AES256 crypted 04/29/2012 - Flyff Private Server - 14 Replies Hallöle
Ich habe seit längeren die VPN IP Range von Galalabs gescannt und am 12. Mai in der Zeit von 0:00 bis 22:29 waren alle DMZ Rechner public, Ich hatte dadurch Zugriff auf einen offenen MSSQL Server und das Passwort war !%agala! (lol) wie es zu erwarten war :D. Dadurch hatte ich dann Zugriff auf das Vpn Netzwerk. Auf den Netzwerk-Laufwerk //patch-gpotato wahr diese Datei.
Download :...