argon2-rs 0.3.0

Argon2 password hashing library for Rust
Documentation
## argon2-rs

A very simple crate for hashing passwords with the Argon2 algorithm.

This crate is using the original [C implementation](https://github.com/P-H-C/phc-winner-argon2) of Argon2.

## Example

```rust
use argon2_rs::Argon2;

let m_cost = 512_000; // 512 MB of memory (the cost is in KiB)
let t_cost = 8; // 8 iterations
let p_cost = 1; // 1 parallelization

let argon2 = Argon2::new(m_cost, t_cost, p_cost);
let salt = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];

// By default the Argon2Id (hybrid) is used with a 64 byte (512 bit) hash length
let hash = argon2.hash_password("password", salt).unwrap();
assert_eq!(hash.len(), 64);
```

## Features

- `zeroize` - Zeroizes the salt after hashing.

## Credits
- [zeroize]https://github.com/RustCrypto/utils/tree/master/zeroize
- [argon2-sys]https://github.com/philipahlberg/argon2-sys