Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,


I need a type of encryption algorithm in C#.Net to encrypt the entered data and save into database and decrypt this data for showing.
If you have this algorithm please send it to me

Thank you
Posted
Updated 28-Mar-11 2:22am
v2
Comments
Keith Barrow 28-Mar-11 8:23am    
*Never* put your e-mail address in an open forum, unless you want to spend all your time deleting spam. I removed it and improved the English to remove textspeak.
hamid_it66 28-Mar-11 8:30am    
Thank you keith
Keith Barrow 28-Mar-11 8:27am    
My Vote of 1: You have just asked plain-out for code, please read the FAQs and guidance. If you cannot research and imlplement one of the common encryption algorithms, you are unlikely to secure your system correctly. We also do not know what the purpose of the algorithm is, this has a bearing on the sort of algorithm you need. .net also has encryption blocks available for download.

Why not use the .NET implementation of the various encryption / decryption algorithms?

See the System.Cryptography Namespace[^]

Consider TripleDES encryption[^] - there is an example of how to use it in the link.
 
Share this answer
 
Comments
Wild-Programmer 28-Mar-11 12:43pm    
Perfect :) my 5+
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900