Ahmed Ghoneim Ahmed Ghoneim - 1 year ago 121
C# Question

One-way encryption methods

This is a just a theoretical question. I'm at a point of starting to program a huge multi-server/multi-client network view.


What are the possible methods of Irreversible Encryption or aka One-Way Encryption? And what are the most suitable to be implemented in my case and in .NET?

Can anyone supply me with just a list of method names!

Answer Source
byte[] data = new byte[DATA_SIZE];
byte[] result;
SHA256 shaM = new SHA256Managed();
result = shaM.ComputeHash(data);

Here is the overview and here is the namespace with standard features. Simply look at HashAlgorithm and its descendants.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download