Class HexUtils

java.lang.Object
co.ankatech.ankasecure.sdk.internal.util.HexUtils

public final class HexUtils extends Object
  • Method Details

    • toBytes

      public static byte[] toBytes(String hex)
      Converts a hex-encoded String to a byte-array.
    • toHex

      public static String toHex(byte[] data)
      Converts a byte-array to lower-case hex without delimiters.