djangohashers 1.6.3

A Rust port of the password primitives used in Django project.
Documentation
1
2
3
4
5
6
7
8
9
10
use djangohashers::{check_password, make_password};

fn main() {
    let encoded = make_password("KRONOS");
    if check_password("KRONOS", &encoded).unwrap() {
        println!("Yeap! your password is good!");
    } else {
        println!("Maybe another time...");
    }
}