@@ -0,0 +1,459 @@
+package com.continuuity.passport.core.utils;%0A%0Aimport com.google.common.hash.HashCode;%0Aimport com.google.common.hash.HashFunction;%0Aimport com.google.common.hash.Hashing;%0A%0A/**%0A *%0A */%0Apublic class PasswordUtils %7B%0A  private final static HashFunction hashFunction = Hashing.sha1();%0A%0A  public static String generateHashedPassword(String password) %7B%0A    HashCode hashCode = hashFunction.newHasher().putString(password).hash();%0A    return hashCode.toString();%0A  %7D%0A%0A%7D%0A

Add sha1 hash to passwords