I have a function:
public static String hashPassword(String pass) throws Exception {
MessageDigest md = MessageDigest.getInstance("SHA1");
return Base64.getEncoder().encodeToString(md.digest(pass.getBytes("UTF-8")));
}
I know the password is malazan2 and the stored value is oxloQ7JK1hmHw9FF8tai1n5TolY= I've tried converting from base64 butit doesn't reveal the sha1 hash
any ideas would be much appreciated on how to properly decode