Closed as not planned
Description
Is it possible to make the Argon2::new
and new_with_secret
functions const? That way, we can have a constant / global static reference to the hasher and use that throughout our code.
Is this something that's possible? I don't see anything that the new
function is doing that can't be made const. It pretty much seems to be just assigning fields of the struct, and that's it.
Would be happy to put a PR if required
Metadata
Metadata
Assignees
Labels
No labels