News for hackers. Stuff that matters.
Re:How To Safely Store A Password by jorangreef on Saturday July 02, 2011 @10:12AM (#2721627)
To see if I understand bcrypt correctly, would this pseudo code achieve a similar adaptable computational cost?

  function(uniqueSalt128Bit, password, rounds) {
    var hash = SHA1(uniqueSalt128Bit + password);
    var length = Math.pow(2, rounds);
    while (length--) hash = SHA1(hash);
    return hash;
  }
Re:How To Safely Store A Password by nemeth on Saturday July 02, 2011 @11:57AM (#2721795)