Here you can find the source of hash(String password)
public static String hash(String password)
//package com.java2s; //License from project: Open Source License public class Main { public static String hash(String password) { return "hashed" + password + "hashed"; }/*w w w. j a v a 2s . c o m*/ }