| |
| scriptlog:lib:core:tokenizer [2026/09/26 09:09] – admin admin | scriptlog:lib:core:tokenizer [2026/09/26 09:16] (current) – admin admin |
|---|
| ======= Docblock Metadata ======= | ======= Docblock Metadata ======= |
| |
| ^ Tag ^ Value ^ | ^ Tag ^ Value ^ |
| | ''@category'' | Core Class | | | ''@category'' | Core Class | |
| | ''@author'' | M.Noermoehammad | | | ''@author'' | M.Noermoehammad | |
| | ''@license'' | MIT | | | ''@license'' | MIT | |
| | ''@version'' | 1.0 | | | ''@version'' | 1.0 | |
| | ''@see'' | https://github.com/ircmaxell/RandomLib | | | ''@see'' | https://github.com/ircmaxell/RandomLib | |
| | ''@see'' | https://stackoverflow.com/questions/1846202/php-how-to-generate-a-random-unique-alphanumeric-string | | | ''@see'' | https://stackoverflow.com/questions/1846202/php-how-to-generate-a-random-unique-alphanumeric-string | |
| | ''@see'' | https://phppot.com/php/secure-remember-me-for-login-using-php-session-and-cookies/ | | | ''@see'' | https://phppot.com/php/secure-remember-me-for-login-using-php-session-and-cookies/ | |
| | ''@see'' | https://paragonie.com/blog/2015/05/using-encryption-and-authentication-correctly | | | ''@see'' | https://paragonie.com/blog/2015/05/using-encryption-and-authentication-correctly | |
| | ''@see'' | https://gist.github.com/wopot/94e33bdd1d7faaaa56e2 | | | ''@see'' | https://gist.github.com/wopot/94e33bdd1d7faaaa56e2 | |
| | ''@see'' | https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence | | | ''@see'' | https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence | |
| | ''@see'' | https://paragonie.com/blog/2015/11/choosing-right-cryptography-library-for-your-php-project-guide | | | ''@see'' | https://paragonie.com/blog/2015/11/choosing-right-cryptography-library-for-your-php-project-guide | |
| | ''@see'' | https://www.zimuel.it/blog/cryptography-made-easy-with-zend-framework | | | ''@see'' | https://www.zimuel.it/blog/cryptography-made-easy-with-zend-framework | |
| |
| ======= Inheritance ======= | ======= Inheritance ======= |
| ======= Methods (6) ======= | ======= Methods (6) ======= |
| |
| ^ Visibility ^ Method ^ Summary ^ Line ^ | ^ Visibility ^ Method ^ Summary ^ Line ^ |
| | public static | ''getSelectorKey()'' | getSelectorKey | 48 | | | public static | ''getSelectorKey()'' | getSelectorKey | 48 | |
| | public static | ''createToken()'' | Create token | 62 | | | public static | ''createToken()'' | Create token | 62 | |
| | public static | ''setRandomPasswordProtected()'' | setRandomPasswordProtected | 78 | | | public static | ''setRandomPasswordProtected()'' | setRandomPasswordProtected | 78 | |
| | public static | ''isPasswordValid()'' | getRandomPasswordProtected | 95 | | | public static | ''isPasswordValid()'' | getRandomPasswordProtected | 95 | |
| | public static | ''setRandomSelectorProtected()'' | setRandomSelectorProtected | 109 | | | public static | ''setRandomSelectorProtected()'' | setRandomSelectorProtected | 109 | |
| | public static | ''isSelectorValid()'' | isSelectorValid | 127 | | | public static | ''isSelectorValid()'' | isSelectorValid | 127 | |
| |
| |
| Create token | Create token |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$length'' | ''(untyped)'' | //required// | //none// | | | ''$length'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' — string | **Returns:** ''(none declared)'' — string |
| setRandomPasswordProtected | setRandomPasswordProtected |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$password'' | ''(untyped)'' | //required// | //none// | | | ''$password'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' — string | **Returns:** ''(none declared)'' — string |
| getRandomPasswordProtected | getRandomPasswordProtected |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$password'' | ''(untyped)'' | //required// | //none// | | | ''$password'' | ''(untyped)'' | //required// | //none// | |
| | ''$hash'' | ''(untyped)'' | //required// | //none// | | | ''$hash'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' — bool | **Returns:** ''(none declared)'' — bool |
| setRandomSelectorProtected | setRandomSelectorProtected |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$selector'' | ''(untyped)'' | //required// | //none// | | | ''$selector'' | ''(untyped)'' | //required// | //none// | |
| | ''$key'' | ''(untyped)'' | //required// | //none// | | | ''$key'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' — string | **Returns:** ''(none declared)'' — string |
| isSelectorValid | isSelectorValid |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$cipher_data'' | ''(untyped)'' | //required// | //none// | | | ''$cipher_data'' | ''(untyped)'' | //required// | //none// | |
| | ''$selector'' | ''(untyped)'' | //required// | //none// | | | ''$selector'' | ''(untyped)'' | //required// | //none// | |
| | ''$key'' | ''(untyped)'' | //required// | //none// | | | ''$key'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' — bool | **Returns:** ''(none declared)'' — bool |