Cryptography
-
Dear All, Please let meknow how can I encrypt a string and store the encrypted string in database, then reterive the encrypted string and decrypt it. thanx
-
Dear All, Please let meknow how can I encrypt a string and store the encrypted string in database, then reterive the encrypted string and decrypt it. thanx
Depends on how strong the encryption must be. The easiest and most fun :) way is XOR encryption. I'm sure you'll find plenty of information and examples on the web.
-
Dear All, Please let meknow how can I encrypt a string and store the encrypted string in database, then reterive the encrypted string and decrypt it. thanx
plz try this article: http://www.codeproject.com/useritems/Encrypt\_an\_string.asp > use RC2 algoritm
First and the Foremost: FIGHT TO WIN About Me
-
Dear All, Please let meknow how can I encrypt a string and store the encrypted string in database, then reterive the encrypted string and decrypt it. thanx
I usually develop my own encryption methods, two methods to encode and decode using very basic ways, like getting the integer value of the string, play with it, store it. Do the opposite when retrieving it.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
Depends on how strong the encryption must be. The easiest and most fun :) way is XOR encryption. I'm sure you'll find plenty of information and examples on the web.
Just give me a sample
-
Just give me a sample
Here's you example. A very nice one, too. http://www.eggheadcafe.com/tutorials/aspnet/8b53894c-a889-4914-8c46-122980cc44ae/simple-xor-encryption.aspx[^]
-
Here's you example. A very nice one, too. http://www.eggheadcafe.com/tutorials/aspnet/8b53894c-a889-4914-8c46-122980cc44ae/simple-xor-encryption.aspx[^]
Thanx for the sample
-
Dear All, Please let meknow how can I encrypt a string and store the encrypted string in database, then reterive the encrypted string and decrypt it. thanx
The biggest problem with crypto is keeping the secret secure. There are plenty of libraries available that will do Rijndael/AES. Including some stuff that ships with .Net I've used the .net libraries a few times in the past, although if i could find a properly peer reviewed open source verison i'd be much happier using it. XOR should only be used for the very lightest crypto requirements, it's very oldhat and can be easily broken. I suppose it depends what you want to do. XOR will hide your girlfriend's phone numbers from your wife but it wouldn't hold up very long against the forces of the RIAA trying to prove that you once looked at a copy of that DVD key. Russell