(2) How can I read-back an encrypted string.
regardsHello, this is called enrypt/decrypt, check this please:
Encryption/Decryption with .NET
regards
thanks very much,
that seems like a very long code.
Isn't there any method in .Net where I can specify a string to be encrypted and a key which should be used to encrypt it.
Hope, there is a quicker way
Dont think so.
regards
Hi,
If you don't really need strong encryption, XOR a number (derived from what you want to encrypt) with a key (also a number which you keep secret) to encrypt. A second XOR with the key decrypts.
regards
MonkeyBoy2
After all you need a strong encryption and not just any simple on !!!!
regards
Take a look at theSystem.Security.Cryptography namespace.
0 comments:
Post a Comment