Package org.keycloak.crypto
Interface HashProvider
-
- All Superinterfaces:
Provider
- All Known Implementing Classes:
JavaAlgorithmHashProvider
public interface HashProvider extends Provider
- Author:
- Marek Posolda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
byte[]
hash(byte[] input)
default byte[]
hash(String input)
-
-
-
Method Detail
-
hash
default byte[] hash(String input) throws HashException
- Throws:
HashException
-
hash
byte[] hash(byte[] input) throws HashException
- Throws:
HashException
-
-