PC Review


Reply
Thread Tools Rate Thread

crypt() function

 
 
Bilge TUTAK
Guest
Posts: n/a
 
      25th Aug 2004
Hi All,
Is there a function like crypt() of PHP. I want to verify a password using
that password. It uses the password hash(from db,AD,or elsewhere) and the
password user entered and returns the hash of the original password. Then
you can easily compare the hashes from db and crypt() function.
Thanx


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      25th Aug 2004
* "Bilge TUTAK" <(E-Mail Removed)> scripsit:
> Is there a function like crypt() of PHP. I want to verify a password using
> that password. It uses the password hash(from db,AD,or elsewhere) and the
> password user entered and returns the hash of the original password. Then
> you can easily compare the hashes from db and crypt() function.


AFAIK no, but you can easily convert a C++ implementation of the 'crypt'
command to C#/VB.NET.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emulate PHP "crypt" function in c#? JamesB Microsoft C# .NET 5 5th Mar 2008 10:08 PM
Do you know some .net function like the php "crypt" function? David Microsoft Dot NET 0 8th Nov 2004 08:50 PM
IE6 (128 crypt) Bernice Windows XP Internet Explorer 0 5th Jan 2004 09:18 PM
Managed C++ Class Library version of unix's crypt(3) function Walter Zydhek Microsoft Dot NET 0 20th Oct 2003 04:37 AM
Re: Custom crypt DES key in crypt API TC Microsoft Access Security 0 17th Sep 2003 04:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:12 PM.