Class SecureHashProcessor
java.lang.Object
org.apache.activemq.artemis.utils.SecureHashProcessor
- All Implemented Interfaces:
HashProcessor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecureHashProcessor
-
-
Method Details
-
hash
Description copied from interface:HashProcessorproduce hash text from plain text- Specified by:
hashin interfaceHashProcessor- Parameters:
plainText- Plain text input- Returns:
- the Hash value of the input plain text
- Throws:
Exception
-
compare
Description copied from interface:HashProcessorcompare the plain char array against the hash value- Specified by:
comparein interfaceHashProcessor- Parameters:
inputValue- value of the plain textstoredValue- the existing hash value- Returns:
- true if the char array matches the hash value, otherwise false.
-