Class SHA256Digest

    • Constructor Detail

      • SHA256Digest

        public SHA256Digest()
    • Method Detail

      • bigEndianToInt

        public static int bigEndianToInt​(byte[] bs,
                                         int off)
      • bigEndianToInt

        public static void bigEndianToInt​(byte[] bs,
                                          int off,
                                          int[] ns)
      • intToBigEndian

        public static byte[] intToBigEndian​(int n)
      • intToBigEndian

        public static void intToBigEndian​(int n,
                                          byte[] bs,
                                          int off)
      • processWord

        protected void processWord​(byte[] in,
                                   int inOff)
        Specified by:
        processWord in class GeneralDigest
      • doFinal

        public int doFinal​(byte[] out,
                           int outOff)
      • reset

        public void reset()
        reset the chaining variables
        Overrides:
        reset in class GeneralDigest