문제

I need to use HMACSHA256-Encryption on a Windows CE device.

I tried to use BouncyCastle / cfAES (in combination with OpenNETCF), but I can't get them to work.

BouncyCastle: I always get the error "Missing method exception: " regard macUtilities.GetMac-method.

cfAES: There's a whole bunch of error messages... "Type or namespace 'HashAlgorithm' not found" and so on...

What's the best practice to use cfAES or BouncyCastle on .NET Compact Framework? Where are the pitfalls? What are the requirements for cfAES (which version of OpenNETCF)?

도움이 되었습니까?

해결책

I built BouncyCastle 1.7 for the Compact Framework back in 2011 with no problems. I put the solution on my blog since there was no way to add an attachment here.

For the OpenNETCF solution, the latest versions of the SDF have have HMACSHA256 already in it - why are you pulling in cfAES as well (Casey merged in his code long ago).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top