Class DigestEnvelope

    • Constructor Detail

      • DigestEnvelope

        public DigestEnvelope​(Input input,
                              String algrthm)
        Ctor.
        Parameters:
        input - The input
        algrthm - The algorithm
      • DigestEnvelope

        public DigestEnvelope​(Input input,
                              int max,
                              String algrthm)
        Ctor.
        Parameters:
        input - The input
        max - Buffer size
        algrthm - The algorithm
    • Method Detail

      • asBytes

        public byte[] asBytes()
                       throws Exception
        Description copied from interface: Bytes
        Convert it to the byte array.
        Specified by:
        asBytes in interface Bytes
        Returns:
        The byte array
        Throws:
        Exception - If fails