Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate Drupal 8 hash salt
drush eval "var_dump(Drupal\Component\Utility\Crypt::randomBytesBase64(55))"
@frederickjh

This comment has been minimized.

Copy link

frederickjh commented Mar 5, 2018

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
You can’t perform that action at this time.