Skip to content

Instantly share code, notes, and snippets.

@yurimorales
Created December 10, 2019 21:00
Show Gist options
  • Save yurimorales/688aad5ddb3cdd23f43fef27bac6c710 to your computer and use it in GitHub Desktop.
Save yurimorales/688aad5ddb3cdd23f43fef27bac6c710 to your computer and use it in GitHub Desktop.
Simple Token Generator PHP 7
<?php
$token = bin2hex(openssl_random_pseudo_bytes(54
));
echo $token;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment