AwkwardCoder
AwkwardCoder

Reputation: 25631

Is there a crypto library for AES using ECB cypher and PCKS5 padding on WP7

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

Answers (2)

Yahia
Yahia

Reputation: 70369

check SecureBlackBox out... not affiliated, only a happy customer...

Upvotes: 2

rossum
rossum

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

Related Questions