/** * Encode a password-type string value. * @param password the password (in clear). * @return the masked value for the given string. * @see #decodePassword(String) */ public static String encodePassword (String password) { return ENCSTR+Base64.encodeString(password); }