Uses of Class
page.codeberg.friedolyn.crypto.HashingResult
Packages that use HashingResult
Package
Description
-
Uses of HashingResult in page.codeberg.friedolyn.configuration
Fields in page.codeberg.friedolyn.configuration declared as HashingResultModifier and TypeFieldDescriptionprivate HashingResult
Configuration.clearnameHash
private HashingResult
Configuration.emailHash
The Argon2 hash of theConfiguration.email
field, that matches theConfiguration.argon2Configuration
.private HashingResult
Configuration.userHash
The Argon2 hash of theConfiguration.user
field, that matches theConfiguration.argon2Configuration
.Fields in page.codeberg.friedolyn.configuration with type parameters of type HashingResultModifier and TypeFieldDescriptionprivate @NonNull HashSet
<HashingResult> Configuration.clearnameHashes
private @NonNull HashSet
<HashingResult> Configuration.emailHashes
private @NonNull HashSet
<HashingResult> Configuration.userHashes
Methods in page.codeberg.friedolyn.configuration that return types with arguments of type HashingResultModifier and TypeMethodDescription@NonNull Optional
<HashingResult> Configuration.computeClearnameHash()
Forcibly computes theConfiguration.clearnameHash
and returns it, even if it already exists.@NonNull Optional
<HashingResult> Configuration.computeEmailHash()
Forcibly computes theConfiguration.emailHash
and returns it, even if it already exists.@NonNull Optional
<HashingResult> Configuration.computeUserHash()
Forcibly computes theConfiguration.userHash
(even if it already exists) and returns it.@NonNull Optional
<HashingResult> Configuration.getClearnameHash()
@NonNull HashSet
<HashingResult> Configuration.getClearnameHashes()
@NonNull Optional
<HashingResult> Configuration.getEmailHash()
@NonNull HashSet
<HashingResult> Configuration.getEmailHashes()
@NonNull Optional
<HashingResult> Configuration.getUserHash()
@NonNull HashSet
<HashingResult> Configuration.getUserHashes()
-
Uses of HashingResult in page.codeberg.friedolyn.crypto
Methods in page.codeberg.friedolyn.crypto that return HashingResultModifier and TypeMethodDescription@NonNull HashingResult
HashingResult.copy()
Creates a deep copy of thisHashingResult
object.static @NonNull HashingResult
Hashes the given input using the Argon2 hash function with the default parameters: Argon2 version:Argon2Version.ARGON2_VERSION_19
Memory size:Cryptor.ARGON2_MEMORY_KiB
Number of iterations:Cryptor.ARGON2_ITERATIONS
KnownDegree of parallelism:Cryptor.ARGON2_PARALLELISM
Hash length:Cryptor.KEY_SIZE_BYTES
Salt: A randomly generated byte array of lengthCryptor.ARGON2_LENGTH_BYTES
See RFC 9106 for details.static @NonNull HashingResult
Cryptor.hash
(@NonNull String input, @NonNull Argon2Configuration argon2Configuration) Hashes the given input using the Argon2 hash function with the parameters specified in the givenArgon2Configuration
.static @NonNull HashingResult
static @NonNull HashingResult
HashingResult.parseBase64
(@NonNull String hash) Methods in page.codeberg.friedolyn.crypto with parameters of type HashingResultModifier and TypeMethodDescription@NonNull FuzzyBoolean
HashingResult.equals
(@NonNull HashingResult other) Compares all fields of thisHashingResult
object to the fields of anotherHashingResult
object. -
Uses of HashingResult in page.codeberg.friedolyn.meta
Fields in page.codeberg.friedolyn.meta declared as HashingResultModifier and TypeFieldDescriptionprivate HashingResult
BannedUser.clearName
The Argon2 hash of theclear name
of the user who was banned.private HashingResult
BannedUser.email
The Argon2 hash of thee-mail address
of the user who was banned.private HashingResult
BannedUser.username
Methods in page.codeberg.friedolyn.meta that return types with arguments of type HashingResultModifier and TypeMethodDescription@NonNull Optional
<HashingResult> BannedUser.getClearName()
@NonNull Optional
<HashingResult> BannedUser.getEmail()
@NonNull Optional
<HashingResult> BannedUser.getUsername()
Methods in page.codeberg.friedolyn.meta with parameters of type HashingResultModifier and TypeMethodDescriptionvoid
BannedUser.setClearName
(@NonNull HashingResult clearName) Updates theBannedUser.clearName
hash of the user who was banned.void
BannedUser.setEmail
(@NonNull HashingResult email) Updates theBannedUser.email
hash of the user who was banned.void
BannedUser.setUsername
(@NonNull HashingResult username) Updates theBannedUser.username
hash of the user who was banned.