Unix crypt

G

Guest

Hi

I am trying to match a user password provided by a user on an ASP.NET web form with a Unix encrypted password stored in a Sybase database table. I know I cannot use MD5, SHA1, etc as the password is stored encryted in Unix, I guess crypt(). Is there a special Dll that I can use to convert the password into a Unix encrypted string value and then match the two values?

I am using ASP.NET, C#

Thanks

Sri.
 
D

Dennis Redfield

no special DLL. You will need to encrpty the password using the same algor
as the Unix box or decrypt the password in the Sybase table. Do you know
what algor was used to encrypt the data? Was the data encrypted with a call
to crypt() on the Unix side? what algor does it use???

hope this helps
dlr

Sri said:
Hi,

I am trying to match a user password provided by a user on an ASP.NET web
form with a Unix encrypted password stored in a Sybase database table. I
know I cannot use MD5, SHA1, etc as the password is stored encryted in Unix,
I guess crypt(). Is there a special Dll that I can use to convert the
password into a Unix encrypted string value and then match the two values?
 
G

Guest

Yes, crypt() was used. Thanks. I called VBACrypt.dll, encrypted my password and then matched the two. It works. Thanks anyways.
 
D

Dennis Redfield

VBACrypt ?
Sri said:
Yes, crypt() was used. Thanks. I called VBACrypt.dll, encrypted my
password and then matched the two. It works. Thanks anyways.
 

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