public interface SecureHasher
PBKDF2CipherProvider, BcryptCipherProvider, ScryptCipherProvider,
or Argon2SecureHasher. These classes implement iterative processes which make use
of cryptographic primitives to return an irreversible value which can either securely
store a password representation or be used as an encryption key derived from a password.| Modifier and Type | Method and Description |
|---|---|
String |
hashBase64(String input)
Returns a String representation of
CHF(input) in Base 64-encoded format. |
String |
hashBase64(String input,
String salt)
Returns a String representation of
CHF(input) in Base 64-encoded format. |
String |
hashHex(String input)
Returns a String representation of
CHF(input) in hex-encoded format. |
String |
hashHex(String input,
String salt)
Returns a String representation of
CHF(input) in hex-encoded format. |
byte[] |
hashRaw(byte[] input)
Returns a byte[] representation of
CHF(input). |
byte[] |
hashRaw(byte[] input,
byte[] salt)
Returns a byte[] representation of
CHF(input). |
String hashHex(String input)
CHF(input) in hex-encoded format.input - the inputString hashHex(String input, String salt)
CHF(input) in hex-encoded format.input - the inputsalt - the provided saltString hashBase64(String input)
CHF(input) in Base 64-encoded format.input - the inputString hashBase64(String input, String salt)
CHF(input) in Base 64-encoded format.input - the inputsalt - the provided saltbyte[] hashRaw(byte[] input)
CHF(input).input - the inputbyte[] hashRaw(byte[] input,
byte[] salt)
CHF(input).input - the inputsalt - the provided saltCopyright © 2022 Apache NiFi Project. All rights reserved.