Encrypting known set of values
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi friends, Can anyone help me in finding out a suitable algorith which will create distinct cipher each time? For example if I give Encrypt(5)and if I get value s 2 when I give next time Encrypt(5) I should not get 2, I have an application where values can be {1,2,3,4,5}, I dont want to store it plain text in DB, if I encrypt, I have to make sure by any chance one who enter into DB can compare the encrypted values and reach in conclusions, is it possible by any means to avoid it?, I should be able to decrypt also, through program, I mean encrypt with respect to time or anything? Thanks in advance!!! Cheers Sony Sebastian Nothing is Impossible