Interface HashProcessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean compare​(char[] inputValue, java.lang.String storedHash)
      compare the plain char array against the hash value
      java.lang.String hash​(java.lang.String plainText)
      produce hash text from plain text
    • Method Detail

      • hash

        java.lang.String hash​(java.lang.String plainText)
                       throws java.lang.Exception
        produce hash text from plain text
        Parameters:
        plainText - Plain text input
        Returns:
        the Hash value of the input plain text
        Throws:
        java.lang.Exception
      • compare

        boolean compare​(char[] inputValue,
                        java.lang.String storedHash)
        compare the plain char array against the hash value
        Parameters:
        inputValue - value of the plain text
        storedHash - the existing hash value
        Returns:
        true if the char array matches the hash value, otherwise false.