I'm currently working on a VB interface to a database populated by a PHP application. The PHP application stores a DES hash of user passwords in the database using the crypt() function. Now, I want to compare passwords entered through my VB interface against the hashed passwords in the database, and I've been beating my head against VB.NET's DESCryptoServiceProvider. I can't figure out how to squeeze out a one-way hash from it rather than the reversible encryption results. Can somebody point me towards a solution here? I'm getting headachy.