Package burp.api.montoya.utilities
Interface StringUtils
public interface StringUtils
This interface gives you access to String manipulation features.
-
Method Summary
Modifier and TypeMethodDescriptionConvert a string to the hex values of its ASCII characters.Convert a string of hex values to a string of ASCII characters.
-
Method Details
-
convertAsciiToHexString
Convert a string to the hex values of its ASCII characters. Each character will be converted to a two digit hex value.- Parameters:
data
- The ASCII data to convert.- Returns:
- The string of hex values.
-
convertHexStringToAscii
Convert a string of hex values to a string of ASCII characters. Each pair of hex digits will be converted to a single ASCII character.- Parameters:
data
- The string of hex values to convert.- Returns:
- The string of ASCII characters.
-