public class Argon2 extends Object implements KeyDerivationFunction
A singleton
| Modifier and Type | Class and Description |
|---|---|
static class |
Argon2.VariantDictionaryKeys
keys into the variant dictionary supplied as a KDBX header
|
| Modifier and Type | Method and Description |
|---|---|
VariantDictionary |
createKdfParameters()
Create default KDF parameters
|
static Argon2 |
getInstance() |
UUID |
getKdfUuid()
The UUID of this key derivation function
|
String |
getName()
Get a name
|
byte[] |
getTransformedKey(byte[] digest,
VariantDictionary argonParameterKeys)
Transform a key using this key derivation function
|
public static Argon2 getInstance()
public UUID getKdfUuid()
KeyDerivationFunctiongetKdfUuid in interface KeyDerivationFunctionpublic String getName()
KeyDerivationFunctiongetName in interface KeyDerivationFunctionpublic byte[] getTransformedKey(byte[] digest,
VariantDictionary argonParameterKeys)
KeyDerivationFunctiongetTransformedKey in interface KeyDerivationFunctiondigest - the key to transformargonParameterKeys - the parameters defining the way the transformation is to be carried outpublic VariantDictionary createKdfParameters()
KeyDerivationFunctioncreateKdfParameters in interface KeyDerivationFunctionCopyright © 2025. All rights reserved.