boringauth 0.9.0

Straightforward password, passphrase, TOTP, and HOTP user authentication
Documentation
boringauth-0.9.0 is not a library.

Build Status LibreAuth on crates.io

LibreAuth is a collection of tools for user authentication.

Features

  • HOTP - HMAC-based One-time Password Algorithm (RFC 4226)
  • the key can be passed as bytes, an ASCII string, an hexadicimal string or a base32 string
  • customizable counter
  • customizable hash function (sha1, sha256, sha512)
  • customizable output length
  • customizable output alphabet
  • TOTP - Time-based One-time Password Algorithm (RFC 6238)
  • the key can be passed as bytes, an ASCII string, an hexadicimal string or a base32 string
  • customizable timestamp
  • customizable period
  • customizable initial time (T0)
  • customizable hash function (sha1, sha256, sha512)
  • customizable output length
  • customizable output alphabet