I needed a simple encryption algorithm to encrypt the email addresses of the users and store it to the database table. For this purpose I used RC2CryptoServiceProvider however soon I ran in one strange problem. Whenever I try to decrypt email address "[email protected]
" which was earlier encrypted using the same key and IV I receive "chir#630;#65533;#51876;#42180;ed#9844;ffmail.com" . This happens with many other email addresses and frequently.
I really hunted the entire web and could not find any good solution. In one the blogs I read that symmetrical algorithms have some problem with URLs. Guys please help me. I am stuck.