Skip to content

Instantly share code, notes, and snippets.

@bitkidd
Last active February 12, 2019 16:42
Show Gist options
  • Save bitkidd/3e757ee237bd8b78bf04a6fc2bc58e6c to your computer and use it in GitHub Desktop.
Save bitkidd/3e757ee237bd8b78bf04a6fc2bc58e6c to your computer and use it in GitHub Desktop.
Create key hash for Facebook

You can convert SHA-1 hash in hex format (as found in Play console) into base64 hash using next command:

echo 33:4E:48:84:19:50:3A:1F:63:A6:0F:F6:A1:C2:31:E5:01:38:55:2E | xxd -r -p | openssl base64

Output:

M05IhBlQOh9jpg/2ocIx5QE4VS4=

This hash can be used for example when setting up Facebook app.

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