Class Base64EncodedHashDigest
- java.lang.Object
-
- org.camunda.bpm.engine.impl.digest.Base64EncodedHashDigest
-
- Direct Known Subclasses:
Sha512HashDigest,ShaHashDigest
public abstract class Base64EncodedHashDigest extends Object
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description Base64EncodedHashDigest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancheck(String password, String encrypted)protected byte[]createByteHash(String password)protected MessageDigestcreateDigestInstance()protected StringencodeHash(byte[] hash)Stringencrypt(String password)protected abstract StringhashAlgorithmName()allows subclasses to select the hash algorithm
-
-
-
Method Detail
-
createByteHash
protected byte[] createByteHash(String password)
-
createDigestInstance
protected MessageDigest createDigestInstance()
-
encodeHash
protected String encodeHash(byte[] hash)
-
hashAlgorithmName
protected abstract String hashAlgorithmName()
allows subclasses to select the hash algorithm
-
-