User Profile

Collapse

Profile Sidebar

Collapse
trini
trini
Last Activity: Oct 16 '06, 07:51 AM
Joined: Sep 13 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ---------------------------------------------------------------------------------
    The following code converts the 16-hexadecimal hashkey to a 32-character one:
    Code:
    txtUSERPWD_hash = HashString(TextLine)
    For i = 1 To 16
        c = Asc(Mid(txtUSERPWD_hash, i, 1))
        strHash = strHash + Hex(c)
    Next i
    See more | Go to post
    Last edited by Killer42; Mar 1 '07, 09:06 PM. Reason: Added CODE tags

    Leave a comment:


  • My VBA MD5 function returns 16 characters instead of 32?

    hi there,

    I found this code on your forum for which I am glad because I can use it pretty well IF there's a way to alter it and get a 32-character hashcode instead of 16! Anybody knows what's wrong here?

    Thnx
    ------------------------------------------------------------------------------------------------------------
    Working Code:
    Code:
    Private Declare Function CryptAcquireContext Lib "advapi32.dll"
    ...
    See more | Go to post
    Last edited by Killer42; Mar 1 '07, 09:04 PM. Reason: Added CODE tags and some indenting for readability
No activity results to display
Show More
Working...