feross / md5-password-cracker.js

Crack MD5 passwords with JavaScript Web Workers
http://feross.org/hacks/md5-password-cracker.js/
385 stars 69 forks source link

Update md5.js #1

Closed gildas-lormeau closed 11 years ago

gildas-lormeau commented 11 years ago

Fixed an issue related to function hoisting.

Example:

function a() { 
  alert("a1") 
}
if (false) { 
  function a() { 
    alert("a2") 
  } 
}

a(); // will alert "a2"
feross commented 11 years ago

Thanks for the pull request. This looks like a bug in Joseph Meyer's MD5.js library, but it doesn't look like he has that on Github, so I accepted the change here.