请问管理的WinRT API包括一种方法来计算一个MD5哈希?方法来、API、WinRT、哈希

2023-09-04 09:05:57 作者:茉莉情花

我怎样才能计算MD5在Metro风格的应用程序,是用C#?

How can I compute MD5 in a Metro Style app that is written in C#?

推荐答案

有很多在的 Metro风格应用的参考。

我不知道关于MD5,但哈希工具和SHA是的 Windows.Security.Cryptography.Certificates

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

显然,我们不知道,如果你真的需要MD5,但如果你不这样做(即你不是说给另一个希望MD5别的东西),然后不 - 这是经常去到散列的人只是因为它更多的著名的,但其他人往往是各种原因更好。

Obviously we don't know if you really need MD5, but if you don't (i.e. you're not talking to something else that expects MD5) then don't - it's often the go-to hashing for people just because it's more famous, but others are often better for all sorts of reasons.