# decryption through md4 algorithm

how to decryption through md4 algorithm.
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
In the version I used few years ago, it was like here:
http://linux.die.net/man/3/md2

MD4_Init, MD4_Update, MD4_Final

Here is an example:
http://www.slavasoft.com/quickhash/help-online-frames/htmlpages/chmac__samplestring_md4.htm

Why MD4 and not MD5
http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html
http://nepsin.com/mem/projects/md5.htm

CodeProject.MD5 File Creation and Verification
http://www.codeproject.com/KB/cpp/MD5.aspx?display=Print

0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Commented:
MD4 and MD5 (like SHA) are not encryption function but hashing.
The base difference is that encryption is a reversible function, while an hashing function it is not (it's an injective function). This means that there can exists x1 and x2 with x1 <> x2, such that MD4(x1) = MD4(x2).
This implies that it is not simple to found x1 or x2 given MD4(x1) or MD4(x2).
But MD4 is a weak hashing algoritms, and here: http://www.infosec.sdu.edu.cn/uploadfile/papers/Collisions%20for%20Hash%20Functions%20MD4,%20MD5,%20HAVAL-128%20and%20RIPEMD.pdf you can find a very efficient algorithm that can find collisions also by hands...
But these are collisions, that means that you'll find x1 and x2, but you can't find the original value of the hash.
This is a very important distinction.

Hope that helps.

0
Commented:
Also note that the previous article reports how to find two collision, so x2 when x1 is known.
0
Author Commented:
Solved
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.