Generate a secret key and encode as base32 NOTE: Only cryptographically secure in PHP 7.0 onwards (uses "random_bytes" method) On earlier versions of PHP this method isn't available so rand() is used instead
This is the code documentation for the SproutCMS project
Search documentation |
function generateSecret()Generate a secret key and encode as base32 NOTE: Only cryptographically secure in PHP 7.0 onwards (uses "random_bytes" method) On earlier versions of PHP this method isn't available so rand() is used instead
Usagestring $GoogleAuthenticator->generateSecret ( ); Return value
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|