Interface IExternalDigest

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.security.MessageDigest getMessageDigest​(java.lang.String hashAlgorithm)
      Returns the MessageDigest associated with the provided hashing algorithm.
    • Method Detail

      • getMessageDigest

        java.security.MessageDigest getMessageDigest​(java.lang.String hashAlgorithm)
                                              throws java.security.GeneralSecurityException
        Returns the MessageDigest associated with the provided hashing algorithm.
        Parameters:
        hashAlgorithm - String value representing the hashing algorithm
        Returns:
        MessageDigest MessageDigest object
        Throws:
        java.security.GeneralSecurityException - Thrown when something goes wrong in calculating the digest