Std.App.Password.matches
fn
matches: Str -> &Std.App.Password.Stored -> BoolThis is a callable function.
What it does
Whether a password is the one a stored form was made from.
The comparison takes the same time whatever it is given. One that returned
as soon as two bytes differed would take a length of time that says how
much of the digest was right, which is enough to find the rest a byte at a
time.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
