Uses of Class
de.gustavblass.commons.crypto.Argon2Configuration
-
Uses of Argon2Configuration in de.gustavblass.commons.crypto
Classes in de.gustavblass.commons.crypto that implement interfaces with type arguments of type Argon2ConfigurationFields in de.gustavblass.commons.crypto declared as Argon2ConfigurationModifier and TypeFieldDescriptionprivate final @NonNull Argon2ConfigurationCipherText.argon2Configurationprivate final Argon2ConfigurationCryptor.KeyDerivationResult.argon2ConfigurationThe field for theargon2Configurationrecord component.private final @NonNull Argon2ConfigurationHashingResult.argon2ConfigurationThe Argon2 parameters that were used to compute the hash.Methods in de.gustavblass.commons.crypto that return Argon2ConfigurationModifier and TypeMethodDescriptionCryptor.KeyDerivationResult.argon2Configuration()Returns the value of theargon2Configurationrecord component.@NonNull Argon2ConfigurationArgon2Configuration.copy()static @NonNull Argon2ConfigurationArgon2Configuration.fromBase64(@NonNull String hint) Converts a Base64-encoded string representation of anArgon2Configurationback to anArgon2Configurationobject.@NonNull Argon2ConfigurationHashingResult.getArgon2Configuration()static @NonNull Argon2ConfigurationMethods in de.gustavblass.commons.crypto with parameters of type Argon2ConfigurationModifier and TypeMethodDescriptionstatic @NonNull Cryptor.KeyDerivationResultCryptor.deriveKeyFromPassword(byte @NonNull [] password, Argon2Configuration argon2Configuration, int length) Converts a given human-readable password into a key of the given length, using the Argon2 key derivation function.static @NonNull HashingResultCryptor.hash(byte @NonNull [] input, @NonNull Argon2Configuration argon2Configuration) Hashes the given input using the Argon2 hash function with the parameters specified in the givenArgon2Configuration.Constructors in de.gustavblass.commons.crypto with parameters of type Argon2ConfigurationModifierConstructorDescriptionCipherText(byte @NonNull [] cipherText, byte @NonNull [] initialisationVector, @NonNull Argon2Configuration argon2Configuration) Constructs a newCipherTextobject with the provided message,CipherText.initialisationVectorand Argon2 parameters.HashingResult(byte[] hash, @NonNull Argon2Configuration argon2Configuration) Constructs a newHashingResultobject with the provided Argon2 hash and the Argon2 parameters that were used to compute the hash.KeyDerivationResult(byte @NonNull [] derivedKey, Argon2Configuration argon2Configuration) Creates an instance of aKeyDerivationResultrecord class.