14 comments on “Simple AES (Symmetric Key) Encryption in WinRT

  1. Pingback: Windows 8 Developer Links – 2012-10-04 | Dan Rigby

  2. Pingback: Simple AES (Symmetric Key) Encryption in WinRT

    • As far as I understood from the msdn documentation on this topic, if you are dealing with simple password or some sort of key encryption, you wouldn’t need ECCN. But it all seems in the gray area when it comes to encryption.


  3. It’s extremely irresponsible of you to suggest people use ECB mode. It leaks information. People are going to use this example and will get burned by the fact that this is not safe, for anything.

    A proper mode of operation should be used with a corresponding properly generated nonce and/or IV.


    • I agree ECB is the simplest of all where each block is encrypted separately but did you even read the post completely? I am specifically referring to the second paragraph… I am not suggesting this should be used for data encryption on sensitive info, just for simple use-cases. When you see a password encrypted over the wire with ECB, which pattern are you going to use to crack it or which type of info is going to be leaked… could you enlighten us?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s