“Can you share your serial key with us so that we can check the properties of the key and do the needful to you.”
by Skelta Support http://www.skelta.com/

Posts Tagged ‘Security’

Snippet: Rijndael Encrypt (and Decrypt)

Here is a pretty easy and useful little snippet to encrypt and decrypt in Rijndael (AES). Nothing fancy, but here it is nonetheless. Oh, and it uses your logged in Windows account name as the key, so you may want to change that to be your company’s domain, an MD5, your pet’s mother’s favorite teacher’s high-school sweetheart’s maiden name, etc… ;)

Download: Rijndael Encrypt and Decrypt (C#)

Sample Clear:
blah

Sample Encrypted: (with “KEY”)
wFf0sBZwld46DOV3Adu3gg==

Tags
Get a free book about code review best practices.