https://textshredder.codeplex.com/SourceControl/latest
(HN breaks the link directly to the code, but add this fragment to go straight to the AES.cs class: "#Code/Release 1.0/ClientLibrary/CryptoProviders/AES.cs")
This is not secure and should include authentication. As far as I know, .NET does not include authenticated cipher modes by default:
http://msdn.microsoft.com/en-us/library/system.security.cryp...
I recommend using a second HMAC key and computing a HMAC over both the IV and ciphertext. Keyczar does something similar: