Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link

@frederickjh frederickjh commented Mar 5, 2018

If you use the Fish shell I have a gist with a fish function ( 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