Skip to content

Instantly share code, notes, and snippets.

@JadoJodo
Created March 1, 2017 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JadoJodo/948f5972df84278105d525d3a7608ddf to your computer and use it in GitHub Desktop.
Save JadoJodo/948f5972df84278105d525d3a7608ddf to your computer and use it in GitHub Desktop.
Generate a random, cryptographically secure password in Laravel
$password = Hash::make(random_bytes($length));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment