logo SnippetVamp

php 97fonctions 77astuce 69css 52html 43javascript 41fichiers 29jquery 27securite 17texte 16bootstrap 14parser 13debug 11graphisme 11python 10responsive 8pluXML 5crossbrowser 4vanilla 4ajax 3TODO 2auto_ 2conversion 2evenements 2form 2lib 2markdown 2mobile 2bash 1dothtaccess 1effets 1erreurs 1fallback 1filter 1mail 1social 1
Bronco - SnippetVamp 3.0beta - 2021 - GNU GPL - Download
#key - Create Auth Tokens with PHP
// php7
// bin2hex(random_bytes($length))
$token = bin2hex(random_bytes(64));

// fallback
$token = bin2hex(openssl_random_pseudo_bytes($length));


			
astuce php securite
https://davidwalsh.name/random_bytes
public - 18/04/2019 - Add to pack - texte seul - permalink