otp_generator 0.1.0

Otp generator
Documentation
  • Coverage
  • 33.33%
    3 out of 9 items documented1 out of 3 items with examples
  • Size
  • Source code size: 9.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Maheshkumar-Kakade

OTP generator

'otp_generator' is simple one time password generator.

Rust Crate API Minimum rustc version

Index

Install

Add this to your Cargo.toml:

[dependencies]
otp_generator = "0.1.0"

Usage

let flags = otp_generator::Flags {digits : true, ..Default::default()};
println!("6 digit Otp = {}", otp_generator::generate(6,&flags).unwrap());

License

MIT