Class Base64EncodedSaltGenerator

java.lang.Object
org.camunda.bpm.engine.impl.digest.Base64EncodedSaltGenerator
All Implemented Interfaces:
SaltGenerator
Direct Known Subclasses:
Default16ByteSaltGenerator

public abstract class Base64EncodedSaltGenerator extends Object implements SaltGenerator
  • Field Details

    • secureRandom

      protected Random secureRandom
  • Constructor Details

    • Base64EncodedSaltGenerator

      public Base64EncodedSaltGenerator()
  • Method Details

    • generateSalt

      public String generateSalt()
      Specified by:
      generateSalt in interface SaltGenerator
    • generateByteSalt

      protected byte[] generateByteSalt()
    • encodeSalt

      protected String encodeSalt(byte[] salt)
    • getSaltLengthInByte

      protected abstract Integer getSaltLengthInByte()