public String encrypt(String input){
  if (input == null || input.length() == 0) {
    return input;
  }
  byte[] inputBytes=input.getBytes(UTF_8);
  byte[] outputBytes=encrypt(inputBytes);
  return new String(outputBytes,UTF_8);
}

public String encrypt ( String input ) { if ( input == null || input . length ( ) == 0 ) { return input ; } byte [ ] inputBytes = input . getBytes ( UTF_8 ) ; byte [ ] outputBytes = encrypt ( inputBytes ) ; return new String ( outputBytes , UTF_8 ) ; }
encrypts the provided string .
