Class Digest

    • Constructor Detail

      • Digest

        public Digest​(byte[] bytes)
        Create a new digest.
        Parameters:
        bytes - a length 32 byte array.
      • Digest

        public Digest​(String base32StringDigest)
        Create a new digest from a base64 encoded string.
        Parameters:
        base32StringDigest - base64 encoded string
      • Digest

        public Digest()
        Uninitialized object used for serializer to ignore default values.
    • Method Detail

      • toString

        public String toString()
        Encode the digest to a string.
        Overrides:
        toString in class Object
      • getBytes

        public byte[] getBytes()