2017 © Pedro Peláez
 

library otp-authenticate

Provides a simple and up-to-date library for two-factor authentication using OTP hashes and Google Authenticator or a similar app.

image

marc1706/otp-authenticate

Provides a simple and up-to-date library for two-factor authentication using OTP hashes and Google Authenticator or a similar app.

  • Wednesday, June 17, 2015
  • by marc1706
  • Repository
  • 1 Watchers
  • 1 Stars
  • 536 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

About

This library implements OTP authentication into PHP. It allows users to generate TOTP and HOTP codes for two-factor authentication. Generated codes can be created using sha1, sha256, or sha512 hashes. Whilst Google Authenticator will only support the first hash type, the latter two are properly supported by apps like FreeOTP., (*1)

Codes are compared using a constant time comparison method and secrets are generated using openssl_random_pseudo_bytes()., (*2)

Requirements

PHP 7.2.0 or newer is required for this library to work., (*3)

Automated Testing

The library is being tested using unit tests to prevent possible issues., (*4)

Tests Code Coverage Scrutinizer Code Quality, (*5)

License

The MIT License (MIT), (*6)

The Versions

17/06 2015

dev-master

9999999-dev https://www.m-a-styles.de

Provides a simple and up-to-date library for two-factor authentication using OTP hashes and Google Authenticator or a similar app.

  Sources   Download

MIT

The Requires

 

The Development Requires

authentication google otp two-factor authenticator totp hotp

31/01 2015

1.0.1

1.0.1.0 https://www.m-a-styles.de

Provides a simple and up-to-date library for two-factor authentication using OTP hashes and Google Authenticator or a similar app.

  Sources   Download

MIT

The Requires

 

The Development Requires

authentication google otp two-factor authenticator totp hotp

20/01 2015

1.0.0

1.0.0.0 https://www.m-a-styles.de

Provides a simple and up-to-date library for two-factor authentication using TOTP hashes and Google Authenticator or a similar app.

  Sources   Download

MIT

The Requires

 

The Development Requires

authentication google otp two-factor authenticator totp