Reputation: 25631
I need the ability to decrypt data supplied from a client using the AES encryption with ECB cypher and PCKS5 padding on the device.
The AesManaged class does not support changing the padding or the cypher and RijndaelManaged is not supported in WP7.
Are there any crypto libraries out there built for WP7 supporting these configurations?
Upvotes: 2
Views: 1165
Reputation: 70369
check SecureBlackBox out... not affiliated, only a happy customer...
Upvotes: 2
Reputation: 15685
BouncyCastle do a C# crypto library, http://www.bouncycastle.org/csharp/. I don't know how well it works on Win7.
As Paŭlo pointed out, ECB is not secure. If you can, change to CBC or CTR mode.
You may well find that 'AES' and 'Rijndael' are compatible. AES is a subset of Rijndael so they can usually be made to work together, especially if the source is AES.
Upvotes: 3