Package sop.util

Class HexUtil


  • public class HexUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HexUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String bytesToHex​(byte[] bytes)
      Encode a byte array to a hex string.
      static byte[] hexToBytes​(java.lang.String s)
      Decode a hex string into a byte array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait