Class Argon2HashProvider
java.lang.Object
org.apache.shiro.crypto.support.hashes.argon2.Argon2HashProvider
- All Implemented Interfaces:
org.apache.shiro.crypto.hash.HashSpi
A HashProvider for the Argon2 hash algorithm.
This class is intended to be used by the HashProvider class from Shiro. However,
this class can also be used to created instances of the Argon2 hash manually.
Furthermore, there is a nested Argon2HashProvider.Parameters class which provides names for the
keys used in the parameters map of the HashRequest class.
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters for theArgon2Hashclass.Nested classes/interfaces inherited from interface org.apache.shiro.crypto.hash.HashSpi
org.apache.shiro.crypto.hash.HashSpi.HashFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.shiro.crypto.support.hashes.argon2.Argon2HashfromString(String format) org.apache.shiro.crypto.hash.HashSpi.HashFactorynewHashFactory(Random random)
-
Constructor Details
-
Argon2HashProvider
public Argon2HashProvider()
-
-
Method Details
-
getImplementedAlgorithms
- Specified by:
getImplementedAlgorithmsin interfaceorg.apache.shiro.crypto.hash.HashSpi
-
fromString
- Specified by:
fromStringin interfaceorg.apache.shiro.crypto.hash.HashSpi
-
newHashFactory
- Specified by:
newHashFactoryin interfaceorg.apache.shiro.crypto.hash.HashSpi
-