By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,330 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

crypt() function

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "Bilge TUTAK" <bi*********@boun.edu.tr> 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/>
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.