def HashPassword(password, salt):
  prf = lambda p, s: HMAC.new(p, s, SHA512).digest()
  return base64.b64encode(PBKDF2(escape.utf8(password), base64.b64decode(salt), count=1000, prf=prf))
Computes the hash of the given password using 1000 SHA512 iterations.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/password_util.py/HashPassword