Closed jeorgen closed 6 years ago
This could be due to the fact argon2rs is still on version 0x10 of the spec, whereas the latter two tools are version 0x13. I'll have a closer look this weekend.
Fixed in https://github.com/bryant/argon2rs/commit/03643d62bc5117d3ba5794aa1ebd3665d738e005.
$ echo -n "masonit" | cargo run --example cli 8 1 10 0123456789ABCDEF
Running `target/debug/examples/cli 8 1 10 0123456789ABCDEF`
Hash: cc894b3e1345fcc3f36c0f9b808021160ec34a97441987ffb7a775bb0c34d5e8
My first day wih Rust so I may be doing something wrong, but I get different hashes with this library than with others. Using the CLI example like this
But if I do this with the argon2 tool in the repositories of Ubuntu 17.10, I get a different hash:
I get the same hash as with the argon2 tool in python3, with this script: