crypt() function

B

Bilge TUTAK

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
 
H

Herfried K. Wagner [MVP]

* "Bilge TUTAK said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top