1) Unless this is some type of school assignment, you are MUCH better off using either the CryptoAPI or the .NET Framework classes for encryption. Getting it right is VERY VERY VERY difficult.

2)...