Class BytesUtil


  • public final class BytesUtil
    extends Object
    • Method Detail

      • getXOR

        public static byte[] getXOR​(String a,
                                    String b)
      • getLastBytes

        public static byte[] getLastBytes​(byte[] xorBytes,
                                          int lastBytesNum)
        Gets the last bytes.
        Parameters:
        timestamp - the timestamp
        lastBytesNum - the last bytes num
        Returns:
        the last bytes