Exforsys

Free Training

SHA1Managed() not found

This is a discussion on SHA1Managed() not found within the Visual Basic Tutorials forums, part of the Articles and Tutorials category; Hi, im doing a pocket PC application in VB.net. Im trying to hash a password using SHA1Managed(), but im getting ...

Go Back   Exforsys > Articles and Tutorials > Visual Basic Tutorials

Exforsys.com


Visual Basic Tutorials Visual Basic Tutorials Discussions.

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 07-12-2004, 12:32 PM
Member
 
Join Date: Apr 2004
Posts: 37
NareshShroff
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-12-2004, 01:13 PM
sanereddy
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-12-2004, 02:09 PM
Member
 
Join Date: Apr 2004
Posts: 37
NareshShroff
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.