Commit Graph

5 Commits

Author SHA1 Message Date
RobThree 8428b2d25a * Added isCryptographicallySecure to IRNGProvider interface
* Exceptions thrown by TwoFactorAuth are now of type TwoFactorAuthException
* createSecret now has extra argument $requirecryptosecure which is used to force cryptographically secure secrets
* HashRNGProvider now returns string instead of "byte array"
* HashRNGProvider is now initialized with two random values (for the heck of it...)
2015-03-17 12:19:38 +01:00
RobThree 5a8d76cd92 * Formatting 2015-03-17 11:42:00 +01:00
RobThree b738f2ced5 * Add support for custom RNG providers
* Custom exception types for QR providers and RNG providers
2015-03-17 11:24:53 +01:00
Rob Janssen 18c40e4e33 Clarified comment a bit 2015-03-16 18:46:35 +01:00
RobThree 004739be32 * Using namespace(s): https://www.reddit.com/r/programming/comments/2gwqcr/multifactor_authentication_or_twofactor_auth_for/ckr9e1g
* Added simple "PSR-4" autoloader
* Classes and interfaces to separate files
* Updated README for namespaces
2014-09-24 23:33:15 +02:00