First you must get the bytes from the string, which depends on the encoding.
For ascii you would use:
System.Text.Encoding.ASCII.GetBytes(...)
and then you use some cryptographic algorithm from the
System.Security.Cryptography namespace. There are examples in the help
files.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers: http://www.mztools.com