Skip to content

Instantly share code, notes, and snippets.

@pfaocle
Created March 8, 2016 09:39
Show Gist options
  • Star 53 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save pfaocle/ec6c0c4a65c70f6fb1e1 to your computer and use it in GitHub Desktop.
Save pfaocle/ec6c0c4a65c70f6fb1e1 to your computer and use it in GitHub Desktop.
Generate Drupal 8 hash salt
drush eval "var_dump(Drupal\Component\Utility\Crypt::randomBytesBase64(55))"
@frederickjh
Copy link

If you use the Fish shell I have a gist with a fish function (hashsalt.fish) to create a hash_salt.txt file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment