The good encryption secret should be based on algorithm but not any magical things. Remember you are trying to implement the same algorithm but not going to break it so the chance to find out and implement the same algorithm may not be impossible.
You have the plantext and ciphertext, for example if it is encrypted by MD5 hash then you simply implement the MD5 algorithm in your new application then you should have the same hash result. Even the MD5 added some salt still can find out by brute force method (just take some time but not forever). It may use DES or other well known algorithm but you still can easy to implement it because all the algorithm you can obtain source from the Internet.
If the algorithm just their own algorithm then the chance to break it still possible because it may not strong enough as well known algorithm such as simply applied the XOR with a pre-defined string e.g.: "#s7Dxz*-^...". You may try to browse the binary see any speical chars there in binary data area. Of course you still need some debugging skill to do such task.
I think the algorithm is a simple one for they will not put many effort on powerbuilder algorithm because they're writing a encrypt function for application but not the encryption application. Search the powerbuilder 4 see any crypt function build in then you save a lot of time sure they will use it. If not then it should be the well known or their own one.
All you have to do is find out what algorithm it is using and this is a critical issue. Try post some out see any luck because I'm not the Cryptanalysis but my 0.02 cents.
Main Topics
Browse All Topics





by: generalkPosted on 2003-07-08 at 11:30:07ID: 8879368
I don't know of any tools that will magically tell you the algorithm. If it's any decent hash function (even at 8 bits) then it would be impossible to tell what's going on inside without looking at the code.
I think your only option is a trial and error approach. If the application is old, than SHA and MD5 are out of the question. MD4 or MD2 maybe? Could it be a crypt()?
What is the length of the hashed password? Could you post some known pairs?