Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:tokenizer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scriptlog:lib:core:tokenizer [2026/09/26 09:09] – admin adminscriptlog:lib:core:tokenizer [2026/09/26 09:16] (current) – admin admin
Line 13: Line 13:
 ======= 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 =======
Line 41: Line 41:
 ======= 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 |
  
  
Line 78: Line 78:
 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
Line 94: Line 94:
 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
Line 110: Line 110:
 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
Line 127: Line 127:
 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
Line 144: Line 144:
 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
scriptlog/lib/core/tokenizer.1790413762.txt.gz · Last modified: by admin