This page based on How To: Create an Encryption Library on MSDN.
With minor modifications this page could be used to test the other algorithms in the System.Cryptography namespace (Des, Rc2 and Rijndael).