相关疑难解决方法(0)

如何在WinRT中创建SHA-256哈希?

我今天在WinRT中创建了一个简单的单向SHA-256哈希,并意识到它不起作用.我做了验证,显然得到了这个:

◦APISystem.Security.Cryptography.SHA256Managed in MSCORLIB,PUBLICKEYTOKEN = B77A5C561934E089不支持此应用程序类型.CryptoWinRT.exe调用此API.此应用程序类型不支持MSCORLIB中的API System.Security.Cryptography.HashAlgorithm,PUBLICKEYTOKEN = B77A5C561934E089.CryptoWinRT.exe调用此API.◦APISystem.Security.Cryptography.SHA256Managed.此应用程序类型不支持MSCORLIB中的#ctor,PUBLICKEYTOKEN = B77A5C561934E089.CryptoWinRT.exe调用此API.此应用程序类型不支持MSCORLIB中的API System.Security.Cryptography.HashAlgorithm.ComputeHash(System.Byte []),PUBLICKEYTOKEN = B77A5C561934E089.CryptoWinRT.exe调用此API.

这有什么替代品?为什么在WinRT中不允许这样一个微不足道的事情?

.net windows-8 windows-runtime windows-store

8
推荐指数
1
解决办法
3268
查看次数

标签 统计

.net ×1

windows-8 ×1

windows-runtime ×1

windows-store ×1