MD4 implementation ?

  • Thread starter Thread starter semedao
  • Start date Start date
S

semedao

Hi , someone know where there is MD4 imlpementation of HashAlgorithm ?
 
semedao,

There isn't anything in the System.Security.Cryptography namespace that
I can find. There is something in the System.Messaging namespace when
encrypting messages that are sent to message queues, and doesn't expose that
functionality.

The only thing I can think of is to use the Crypto API, as I am sure it
exposes the algorithm.

I assume you are doing this because you have a need to interact with
another application that is producing messages encrypted with MD4 and you
can't change that app. If you are developing an app from scratch, or you
can change the other app, you should change both to MD5 hash
implementations.

Hope this helps.
 
What I need is implementation that derived from HashAlgorithm
and if there is not , then how to implement it?
I don't want to use API etc , because it's break some code in my app
thanks
Nicholas Paldino said:
semedao,

There isn't anything in the System.Security.Cryptography namespace that
I can find. There is something in the System.Messaging namespace when
encrypting messages that are sent to message queues, and doesn't expose
that functionality.

The only thing I can think of is to use the Crypto API, as I am sure it
exposes the algorithm.

I assume you are doing this because you have a need to interact with
another application that is producing messages encrypted with MD4 and you
can't change that app. If you are developing an app from scratch, or you
can change the other app, you should change both to MD5 hash
implementations.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

semedao said:
Hi , someone know where there is MD4 imlpementation of HashAlgorithm ?
 
semedao,

There is no implementation that derives from HashAlgorithm for MD4. You
would have to create it yourself, and most likely, use the API to do it in
your implementation.

There might be some implementations on the web already for this as well.

You do realize that MD4 does not hash effectively, as pointed out here
in Wikipedia:

http://en.wikipedia.org/wiki/MD4


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

semedao said:
What I need is implementation that derived from HashAlgorithm
and if there is not , then how to implement it?
I don't want to use API etc , because it's break some code in my app
thanks
Nicholas Paldino said:
semedao,

There isn't anything in the System.Security.Cryptography namespace
that I can find. There is something in the System.Messaging namespace
when encrypting messages that are sent to message queues, and doesn't
expose that functionality.

The only thing I can think of is to use the Crypto API, as I am sure
it exposes the algorithm.

I assume you are doing this because you have a need to interact with
another application that is producing messages encrypted with MD4 and you
can't change that app. If you are developing an app from scratch, or you
can change the other app, you should change both to MD5 hash
implementations.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

semedao said:
Hi , someone know where there is MD4 imlpementation of HashAlgorithm ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top