Does the managed WinRT API support an MD5 hash calculation method?

How can I calculate MD5 in a Metro Style application written in C #?

+6
source share
2 answers

There is a lot of information about the location of the various namespaces for Metro in the link to the Metro style app .

I'm not sure about MD5, but hashing for SHA is in Windows.Security.Cryptography.Certificates

Obviously, we don’t know if you really need MD5, but if you do not (i.e. you are not talking to something else waiting for MD5), then no - this is often hashing for people simply because it is better known but others are often better for various reasons.

+1
source

Mark the documentation , apparently it ends in the Windows namespace. I suspect that the HashAlgorithmProvider does everything you need, but I have not been able to verify it yet.

0
source

Source: https://habr.com/ru/post/902566/


All Articles