Package org.frankframework.pipes.hash
Interface HashGenerator
public interface HashGenerator
HashGenerator interface and different implementations to work with.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getHashString
(HashPipe.HashEncoding hashEncoding, byte[] result) static HashGenerator
getInstance
(Algorithm algorithm, SecretKeySpec secretKey) getResult
(HashPipe.HashEncoding hashEncoding) void
update
(byte[] b, int offset, int length)
-
Method Details
-
update
void update(byte[] b, int offset, int length) -
getResult
-
getHashString
-
getInstance
static HashGenerator getInstance(Algorithm algorithm, @Nullable SecretKeySpec secretKey) throws NoSuchAlgorithmException, InvalidKeyException
-