and maybe decrypt (if its possible, not needed, but usefull)
Look at the System.Security.Cryptography namespace; it has implementations
of several well known encryption algorithms.
> and maybe decrypt (if its possible, not needed, but usefull)
If you don't need to decrypt the string, may I suggest using a hashing
method? (for instance MD5 or SHA, both available in the namespace mentioned
above). A hash function transforms a string to another string, but it is
almost impossible to convert the result string back into the original
string.
Regards,
Pieter Philippaerts
http://www.mentalis.org/