Package org.keycloak.crypto
Class JavaAlgorithmHashProvider
- java.lang.Object
-
- org.keycloak.crypto.JavaAlgorithmHashProvider
-
- All Implemented Interfaces:
HashProvider
,Provider
public class JavaAlgorithmHashProvider extends Object implements HashProvider
- Author:
- Marek Posolda
-
-
Constructor Summary
Constructors Constructor Description JavaAlgorithmHashProvider(String javaAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
hash(byte[] input)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.crypto.HashProvider
close, hash
-
-
-
-
Constructor Detail
-
JavaAlgorithmHashProvider
public JavaAlgorithmHashProvider(String javaAlgorithm)
-
-
Method Detail
-
hash
public byte[] hash(byte[] input) throws HashException
- Specified by:
hash
in interfaceHashProvider
- Throws:
HashException
-
-