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 HashingResultConfiguration.clearnameHashprivate HashingResultConfiguration.emailHashThe Argon2 hash of theConfiguration.emailfield, that matches theConfiguration.argon2Configuration.private HashingResultConfiguration.userHashThe Argon2 hash of theConfiguration.userfield, that matches theConfiguration.argon2Configuration.Fields in page.codeberg.friedolyn.configuration with type parameters of type HashingResultModifier and TypeFieldDescriptionprivate @NonNull HashSet<HashingResult> Configuration.clearnameHashesprivate @NonNull HashSet<HashingResult> Configuration.emailHashesprivate @NonNull HashSet<HashingResult> Configuration.userHashesMethods in page.codeberg.friedolyn.configuration that return types with arguments of type HashingResultModifier and TypeMethodDescription@NonNull Optional<HashingResult> Configuration.computeClearnameHash()Forcibly computes theConfiguration.clearnameHashand returns it, even if it already exists.@NonNull Optional<HashingResult> Configuration.computeEmailHash()Forcibly computes theConfiguration.emailHashand 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 HashingResultHashingResult.copy()Creates a deep copy of thisHashingResultobject.static @NonNull HashingResultHashes the given input using the Argon2 hash function with the default parameters: Argon2 version:Argon2Version.ARGON2_VERSION_19Memory size:Cryptor.ARGON2_MEMORY_KiBNumber of iterations:Cryptor.ARGON2_ITERATIONSKnownDegree of parallelism:Cryptor.ARGON2_PARALLELISMHash length:Cryptor.KEY_SIZE_BYTESSalt: A randomly generated byte array of lengthCryptor.ARGON2_LENGTH_BYTESSee RFC 9106 for details.static @NonNull HashingResultCryptor.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 HashingResultstatic @NonNull HashingResultHashingResult.parseBase64(@NonNull String hash) Methods in page.codeberg.friedolyn.crypto with parameters of type HashingResultModifier and TypeMethodDescription@NonNull FuzzyBooleanHashingResult.equals(@NonNull HashingResult other) Compares all fields of thisHashingResultobject to the fields of anotherHashingResultobject. -
Uses of HashingResult in page.codeberg.friedolyn.meta
Fields in page.codeberg.friedolyn.meta declared as HashingResultModifier and TypeFieldDescriptionprivate HashingResultBannedUser.clearNameThe Argon2 hash of theclear nameof the user who was banned.private HashingResultBannedUser.emailThe Argon2 hash of thee-mail addressof the user who was banned.private HashingResultBannedUser.usernameMethods 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 TypeMethodDescriptionvoidBannedUser.setClearName(@NonNull HashingResult clearName) Updates theBannedUser.clearNamehash of the user who was banned.voidBannedUser.setEmail(@NonNull HashingResult email) Updates theBannedUser.emailhash of the user who was banned.voidBannedUser.setUsername(@NonNull HashingResult username) Updates theBannedUser.usernamehash of the user who was banned.