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 Details

    • Base64EncodedHashDigest

      public Base64EncodedHashDigest()
  • Method Details

    • encrypt

      public String encrypt(String password)
    • check

      public boolean check(String password, String encrypted)
    • 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