com.jcorporate.expresso.core.security
Class StringHash
java.lang.Object
com.jcorporate.expresso.core.security.StringHash
- public final class StringHash
- extends Object
Base class for hashing. Takes a string or byte array and returns a
byte array that's the hash of the encryption.
- Author:
- Michael Rimov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringHash
public StringHash()
throws ChainedException
- Throws:
ChainedException
produceHash
public byte[] produceHash(byte[] inputData)
throws ChainedException
- Produces a strong cryptographic hash.
- Parameters:
inputData - The data to produce the Hash for
- Returns:
- A byte array representing the hashed input data.
- Throws:
ChainedException
setCryptoManager
public void setCryptoManager(CryptoManager cryptoManager)
getCryptoManager
public CryptoManager getCryptoManager()
Please see www.jcorporate.com for information about new Expresso releases.