Download the PHP package webiik/token without Composer
On this page you can find all versions of the php package webiik/token. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor webiik
Package token
Short Description The Token generates and compares tokens.
License MIT
Homepage https://www.webiik.com
Package token
Short Description The Token generates and compares tokens.
License MIT
Homepage https://www.webiik.com
Keywords token
Please rate this library. Is it a good library?
Informations about the package token
Token
The Token generates and compares tokens.
Installation
Example
Generating
generate
generate() returns safe token. By default the token is 32 characters long. It throws Exception when it was not possible to generate safe token.
generateCheap
generateCheap() returns cheap token. By default the token is 32 characters long. Cheap token is not safe, but is faster to generate.
Comparison
compare
compare() Compares two strings using the same time whether they're equal or not - Timing attack safe string comparison.
Timing-attack safe comparison is slower than regular comparison.
Resources
All versions of token with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package webiik/token contains the following files
Loading the files please wait ....