Class GOST3411_2012_256Digest

    • Constructor Detail

      • GOST3411_2012_256Digest

        public GOST3411_2012_256Digest()
    • Method Detail

      • getDigestSize

        public int getDigestSize()
        Description copied from interface: Digest
        return the size, in bytes, of the digest produced by this message digest.
        Specified by:
        getDigestSize in interface Digest
        Specified by:
        getDigestSize in class GOST3411_2012Digest
        Returns:
        the size, in bytes, of the digest produced by this message digest.
      • doFinal

        public int doFinal​(byte[] out,
                           int outOff)
        Description copied from interface: Digest
        close the digest, producing the final digest value. The doFinal call leaves the digest reset.
        Specified by:
        doFinal in interface Digest
        Overrides:
        doFinal in class GOST3411_2012Digest
        Parameters:
        out - the array the digest is to be copied into.
        outOff - the offset into the out array the digest is to start at.
      • copy

        public Memoable copy()
        Description copied from interface: Memoable
        Produce a copy of this object with its configuration and in its current state.

        The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state.

        Specified by:
        copy in interface Memoable
        Specified by:
        copy in class GOST3411_2012Digest