Using DiffieHellman result in Blowfish Key

07/22/2012 20:49 badguy4you#1
is it safe to use the result from DiffieHellman key exchange for the Blowfish encryption key ?
07/22/2012 21:13 MrSm!th#2
Why not?
07/22/2012 21:20 badguy4you#3
so i will go on :D and use the diffie with blowfish cuz i think its good way to increase security

but there is a 1 small thing i think in DHKey there is must be a prime number P and a number which is less than P that is G

but in some DHKEY i found that the P and G was the following

Code:
string P = "E7A69EBDF105F2A6BBDEAD7E798F76A209AD73FB466431E2E7352ED262F8C558F10BEFEA977DE9E21DCEE9B04D245F300ECCBBA03E72630556D011023F9E857F";
string G = "05";
How is that working
07/23/2012 08:22 MrSm!th#4
What do you mean by how is what working?
07/23/2012 11:01 Mashkin#5
Quote:
Originally Posted by badguy4you View Post
but in some DHKEY i found that the P and G was the following

Code:
string P = "E7A69EBDF105F2A6BBDEAD7E798F76A209AD73FB466431E2E7352ED262F8C558F10BEFEA977DE9E21DCEE9B04D245F300ECCBBA03E72630556D011023F9E857F";
string G = "05";
How is that working
Since the characters are between 0-9 or A-F and the value of G is preceeded with a 0, I guess this is a hex string which is parsed later.

Is this implementation Open Source? You could look for the code using P and G.