Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by harpboy

  1. harpboy

    password encryption

    Here is the source for the object n_cst_crypto, which comes from the article I mentioned, except the function of_hash_a_password, which we modified: ----------------------------------------------- forward global type n_cst_crypto from nonvisualobject end type end forward global type...
  2. harpboy

    password encryption

    I was able to get this to work. If anyone wants to try this, I found the missing values in the Microsoft documentation and on the WEB. Add instance variables: Constant ulong CALG_SHA = 32772 Constant ulong HP_HASHVAL = 2 The convert function didn't exist in my installation, so I wrote one...
  3. harpboy

    password encryption

    I'm trying to hash a user password with the SHA-1 algorithm by calling the Microsoft Crypto API. I found an article about it with some sample code at http://pbdj.sys-con.com/read/42540.htm. I'm able to make the calls to the API, but the data I get back is not what I expect. I'm sure I've...

Part and Inventory Search

Back
Top