1package dev.rafex.ether.crypto.password;
53 boolean verify(
char[]
password,
byte[] salt,
int iterations,
byte[] expectedHash);
Contract for password hashing and verification.
PasswordHash hash(char[] password, byte[] salt, int iterations)
Hashes a password using the specified salt and iterations.
boolean verify(char[] password, byte[] salt, int iterations, byte[] expectedHash)
Verifies a password against an expected hash.
Password hashing and verification primitives for Ether.
record PasswordHash(byte[] hash, byte[] salt, int iterations)
Immutable password hash material.