Also don't forget to salt the password before you encrypt it. Salting for those that don't know is the term given to adding to the password string before encrypting it. e.g. add the users username to the password they have provided. that way if somebody gets hold of the the data they cant run a dictionary search on the password table to find the hashed equivalent of say 'foobar' and thus then know that persons username and password and have a way into the system.
On Aug 6, 12:43 pm, Cerebrus <[email protected]> wrote: > I think that Hashes(MD5, SHA1) are sufficient for this kind of > scenario where non-reversible encryption is the norm. > > On Aug 6, 4:16 pm, Processor Devil <[email protected]> wrote: > > > > > well, you can use some classes in System.Security.Cryptography to do the > > trick. You can eg use SHA1, MD5 or some better encryption like TripleDES or > > RijnDael > > > 2009/8/6 san <[email protected]> > > > > I want to know that how to convert simple plain text into encrypted > > > format.Like i want to store Password in SQL DatabaseCan any one give me > > > Example. > > > Thanks.- Hide quoted text - > > > - Show quoted text -
