Class BCMessageDigest

    • Field Detail

      • digest

        protected Digest digest
    • Constructor Detail

      • BCMessageDigest

        protected BCMessageDigest​(Digest digest)
    • Method Detail

      • engineReset

        public void engineReset()
        Description copied from class: MessageDigestSpi
        Puts this MessageDigestSpi back in an initial state, such that it is ready to compute a one way hash value.
        Specified by:
        engineReset in class MessageDigestSpi
      • engineUpdate

        public void engineUpdate​(byte[] input,
                                 int offset,
                                 int len)
        Description copied from class: MessageDigestSpi
        Updates this MessageDigestSpi using the given byte[].
        Specified by:
        engineUpdate in class MessageDigestSpi
        Parameters:
        input - the byte array.
        offset - the index of the first byte in input to update from.
        len - the number of bytes in input to update from.