G
Guest
Hi
I'm looking for some .net example code on encryption: I don't want anything fancy, no complex third party components with sophisticated algorithms, explanations of principle, or "public/private key" confusion (which seems to be all google can come up with) - I just want a SIMPLE example of how I can encrypt a string and then get back the SAME STRING. I found an example on MSDN which involves compiling a DLL then using it in a test form, but about 1 in 5 times it throws an exception, this isn't good enough for me - I just need it to be simple. It doesn't need to be state of the art defence against hardened crackers, mainly just so it can't be read from glancing at it - not much more. But must be SIMPLE and ALWAYS GIVE THE SAME THING BACK.
Anyone?
I'm looking for some .net example code on encryption: I don't want anything fancy, no complex third party components with sophisticated algorithms, explanations of principle, or "public/private key" confusion (which seems to be all google can come up with) - I just want a SIMPLE example of how I can encrypt a string and then get back the SAME STRING. I found an example on MSDN which involves compiling a DLL then using it in a test form, but about 1 in 5 times it throws an exception, this isn't good enough for me - I just need it to be simple. It doesn't need to be state of the art defence against hardened crackers, mainly just so it can't be read from glancing at it - not much more. But must be SIMPLE and ALWAYS GIVE THE SAME THING BACK.
Anyone?