mini-rcrypt 0.1.1

A minimal Rust implementation of OpenBSD Blowfish password hashing code.
Documentation
  • Coverage
  • 0%
    0 out of 15 items documented0 out of 2 items with examples
  • Size
  • Source code size: 35.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 462.04 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • KindaSloth/rcrypt
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Guilherme775

mini-rcrypt: A minimal Rust implementation of OpenBSD Blowfish password hashing code.

Usage

use mini_rcrypt::BCrypt;

let salt = BCrypt::gensalt(5).unwrap();
let hash = BCrypt::hashpw("test".to_owned(), salt).unwrap();
let check = BCrypt::checkpw("test".to_owned(), hash);

assert!(check);