java.lang.Object
org.springframework.security.crypto.codec.Hex

public final class Hex extends Object
Hex data encoder. Converts byte arrays (such as those obtained from message digests) into hexadecimal string representation.

For internal use only.

Since:
3.0
  • Method Details

    • encode

      public static char[] encode(byte[] bytes)
    • decode

      public static byte[] decode(CharSequence s)