- 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
CryptoAccessforHashFactory.- 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 HashCreatornewHashCreator()static HashAccessof(HashConfig config)StringtoString()
-
-
-
Constructor Detail
-
HashAccess
public HashAccess(HashConfig config)
The constructor.- Parameters:
config- theHashAccess.
-
-
Method Detail
-
newHashCreator
public HashCreator newHashCreator()
- Specified by:
newHashCreatorin interfaceHashFactory- Returns:
- a new instance of
HashCreatorfor the configured hash algorithm of this factory.
-
of
public static HashAccess of(HashConfig config)
- Parameters:
config- theHashAccess.- Returns:
- the
HashAccess.
-
-