- java.lang.Object
-
- io.github.mmm.crypto.CryptoAccess
-
- io.github.mmm.crypto.hash.access.HashAccess
-
- All Implemented Interfaces:
AbstractCryptoFactory
,HashFactory
public class HashAccess extends CryptoAccess implements HashFactory
CryptoAccess
forHashFactory
.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description HashAccess(HashConfig config)
The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HashCreator
newHashCreator()
static HashAccess
of(HashConfig config)
String
toString()
-
-
-
Constructor Detail
-
HashAccess
public HashAccess(HashConfig config)
The constructor.- Parameters:
config
- theHashAccess
.
-
-
Method Detail
-
newHashCreator
public HashCreator newHashCreator()
- Specified by:
newHashCreator
in interfaceHashFactory
- Returns:
- a new instance of
HashCreator
for the configured hash algorithm of this factory.
-
of
public static HashAccess of(HashConfig config)
- Parameters:
config
- theHashAccess
.- Returns:
- the
HashAccess
.
-
-