Class StandardDerivedKeyGenerator

java.lang.Object
org.apache.nifi.toolkit.config.crypto.StandardDerivedKeyGenerator
All Implemented Interfaces:
DerivedKeyGenerator

public class StandardDerivedKeyGenerator extends Object implements DerivedKeyGenerator
Standard implementation of Derived Key Generator using scrypt with compatible parameters and preset salt for reproducible outputs
  • Field Details

  • Constructor Details

    • StandardDerivedKeyGenerator

      public StandardDerivedKeyGenerator()
  • Method Details

    • getDerivedKeyEncoded

      public String getDerivedKeyEncoded(char[] password)
      Get Derived Key based on the provided password using scrypt and return an encoded representation
      Specified by:
      getDerivedKeyEncoded in interface DerivedKeyGenerator
      Parameters:
      password - Password source for key derivation
      Returns:
      Derived key encoded using hexadecimal