public static String convertStringToHexString(String data){
  return conventBytesToHexString(data.getBytes());
}

public static String convertStringToHexString ( String data ) { return conventBytesToHexString ( data . getBytes ( ) ) ; }
convert the string to hex string value .
