View Single Post
  #37  
Old 08-03-2010, 12:06 PM
blmille2
Sarnak
 
Join Date: Apr 2007
Location: Austin, TX
Posts: 64
Default Authentication

I'm looking at this login code in GVim (which does a horrible job with pas files =0D).

So, it looks like you just:
- md5 = md5(input)
- d = md5[i] XOR md5[i+4] XOR md5[i+8] XOR md5[i+12] (i = 0..3)
- shave off the top bit (to keep it > 0 when in signed format)
- make sure the number is between 1 and 100,000, but not including 100,000
- convert the result to hex and toss this to the LS

Is that accurate?

Thanks!

Last edited by Derision; 08-03-2010 at 04:46 PM.. Reason: Moved post into correct thread
Reply With Quote