Module de.carne
Package de.carne.io

Class MD5Checksum

    • Method Detail

      • getInstance

        public static MD5Checksum getInstance()
                                       throws java.security.NoSuchAlgorithmException
        Gets a MD5Checksum instance for checksum generation.
        Returns:
        a MD5Checksum instance for checksum generation.
        Throws:
        java.security.NoSuchAlgorithmException - if the necessary algorithm is not available on the running platform.
      • getInstance

        public static MD5Checksum getInstance​(java.lang.String provider)
                                       throws java.security.NoSuchProviderException,
                                              java.security.NoSuchAlgorithmException
        Gets a MD5Checksum instance for checksum generation.
        Parameters:
        provider - the security provider to use.
        Returns:
        a MD5Checksum instance for checksum generation.
        Throws:
        java.security.NoSuchProviderException - if the requested provider is not available on the running platform.
        java.security.NoSuchAlgorithmException - if the necessary algorithm is not available on the running platform.