-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRP: Pure get_password_verifier function #17
Comments
For backwards compat, you could still keep the old function around but add a second one directly inside the root module. |
Hm, I guess it's indeed worth to add a standalone function On a side note: I think |
Thanks! I do think that a function right on the client struct is a good choice, as it is most convenient, but there should also be a "pure" one.
Yeah, that would be a good idea. However, there should still be the option to provide the numbers yourself so that e.g. your unit tests could be deterministic. As for further ideas for the redesign, one thing that I found a bit weird was the |
Fixed in #79 |
It would be awesome if the function
get_password_verifier
wouldn't require a client but just had a signature likefn get_password_verifier<D: Digest>(private_key: &[u8], params, &[u8]) -> Vec<u8>
or something.The text was updated successfully, but these errors were encountered: