Class Blake2b.Engine.LittleEndian

    • Constructor Detail

      • LittleEndian

        public LittleEndian()
    • Method Detail

      • toHexStr

        public static String toHexStr​(byte[] b)
        Returns:
        hex rep of byte (lower case).
      • toHexStr

        public static String toHexStr​(byte[] b,
                                      boolean upperCase)
      • readInt

        public static int readInt​(byte[] b,
                                  int off)
      • readLong

        public static long readLong​(byte[] b,
                                    int off)
        Little endian - byte[] to long
      • writeLong

        public static void writeLong​(long v,
                                     byte[] b,
                                     int off)
        Little endian - long to byte[]
      • writeInt

        public static void writeInt​(int v,
                                    byte[] b,
                                    int off)
        Little endian - int to byte[]