bryant / argon2rs

The pure-Rust password hashing library running on Argon2.
MIT License
174 stars 19 forks source link

Display hash value in standard PHC String Format #30

Closed sanmai-NL closed 6 years ago

sanmai-NL commented 6 years ago

Add a type for hash values, impl Display for that type. The display method should print. See: https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md

bryant commented 6 years ago

Just from a cursory glance through that link, it looks a lot like what argon2rs::verifier emits. Have you seen that module?

bryant commented 6 years ago

Yeah, this is exactly what verifier does. Closing this unless I've missed something critical, in which case please let me know.