Skip to content

Instantly share code, notes, and snippets.

@detj
Created June 11, 2025 04:08
Show Gist options
  • Save detj/7661152c6a5236a31de05ea0f64f9e0d to your computer and use it in GitHub Desktop.
Save detj/7661152c6a5236a31de05ea0f64f9e0d to your computer and use it in GitHub Desktop.
base64 encoded sha256 hash of text
# "test" is the input
printf "test" | openssl dgst -sha256 -binary | openssl base64
# output - n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment