|
|||
|
SHA1Managed() not found
Hi,
im doing a pocket PC application in VB.net. Im trying to hash a password using SHA1Managed(), but im getting an error saying SHA1Managed is not found. ----------------------------------------- Dim shaMged As New SHA1Managed() ----------------------------------------- i imported namespace: System.Security.Cryptography but still getting error. i even tried System.Security.Cryptography.SHA1 but i dont have that namespace on my system. I mean its not showing in dropdown menu. Kindly help me out Thanks in advance |
| Sponsored Links |
|
|||
|
Re:SHA1Managed() not found
Naresh, Take a look at these very noce articles and sample code on hashing.
ASP.NET provides a very convenient way to create a hashed string from a user inputted value. A common issue with storing passwords in flat file or even the database, is that unwanted eyes can potential see your users passwords and hack into your web application. In order to hide users passwords in the database, you can create a hashed value of the password and store it in the database. The benefit of storing a hashed value for your passwords is that other people will never know the actual password. The drawback of this approach is of course if you forget the password, its very hard to recover. http://www.csharpfriends.com/Article...?articleID=344 http://www.csharpfriends.com/Forums/...x?PostID=17801 Hope this helps. thanks, sanereddy |
|
|||
|
Re:SHA1Managed() not found
thanks sanereddy garu.
but that formsauthentication article is applicable only for Web applications. im actually developing windows application for pocket pc. the same worked fine for desktop windows application but when it comes to smart device application, im getting error that SHA1Managed() is not found. Thanks, Naresh |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compaq Contura Aero Frequently Asked Questions | Philip Wilk | Tech FAQ | 0 | 10-19-2005 12:38 AM |
| [FAQ] FileMaker Pro - database for Macintosh and Windows | Martin Trautmann | Tech FAQ | 0 | 10-19-2005 12:37 AM |
| [FAQ] FileMaker Pro - database for Macintosh and Windows | Martin Trautmann | Tech FAQ | 0 | 04-17-2004 07:26 AM |