Skip to content

Instantly share code, notes, and snippets.

@abdolrhman
Created April 29, 2018 09:44
Show Gist options
  • Select an option

  • Save abdolrhman/05ed5904b579a32ae707fd2c190cc97b to your computer and use it in GitHub Desktop.

Select an option

Save abdolrhman/05ed5904b579a32ae707fd2c190cc97b to your computer and use it in GitHub Desktop.
$randomCode = bin2hex(openssl_random_pseudo_bytes(30));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment