Class HexEncoder

java.lang.Object
org.hawaiiframework.util.codec.HexEncoder

public class HexEncoder extends Object
Utility class to encode and decode hex strings.
Since:
3.0.0.M6
  • Constructor Details

    • HexEncoder

      public HexEncoder()
  • Method Details

    • encode

      public String encode(String str)
      Encodes the provided String.
      Parameters:
      str - the string to encode
      Returns:
      the encoded string
    • decode

      public String decode(String str)
      Decodes the provided hex String.
      Parameters:
      str - the hex string to decode
      Returns:
      the decoded string