Class MD5Gen

  • Direct Known Subclasses:
    MD5RollingGen

    public class MD5Gen
    extends java.lang.Object
    MD5 hash generator
    • Constructor Detail

      • MD5Gen

        public MD5Gen()
    • Method Detail

      • update

        public MD5Gen update​(byte[] input)
        Generate MD5-hash for input bytes
        Parameters:
        input - Input bytes
        Returns:
        Reference for this MD5Gen
      • getHashBytes

        @Deprecated
        public byte[] getHashBytes()
        Deprecated.
        Get generated MD5-hash value in bytes representation. To generate hash invoke update(byte[])
        Returns:
        MD5-hash value bytes
      • getHashHexString

        @Deprecated
        public java.lang.String getHashHexString​(boolean upperCase)
        Get generated MD5-hash in HEX format. To generate hash invoke update(byte[])
        Parameters:
        upperCase - True: capital case HEX, false: lower case HEX
        Returns:
        String with HEX hash value