code: public static void main(String[] args) throws Exception {
  		String originalValue = "Amman123";
  		byte[] encryptedValue = encrypt(originalValue.getBytes());
  		String descryptedValue = new String(decrypt(encryptedValue), "UTF-8");
  		byte[] hashed = hash(originalValue.toCharArray(), salt());
  
  		System.out.println("Original value: " + originalValue);
  		System.out.println("Encrypted value: " + new String(encryptedValue));
  		System.out.println("Decryped value: " + descryptedValue);
  
  		System.out.println("Hashing original value:" + encodeInToBase64(hashed));
  
  		Password password = createPassword(originalValue.toCharArray());
  		System.out.println("Password hash: " + password.getHash());
  		System.out.println("Password salt: " + password.getSalt());
  //		System.out.println(encode("3"));
  
  	}
docs: The main method.
  
  @param args the arguments
  @throws Exception the exception