Skip to content

Instantly share code, notes, and snippets.

@pratheepchowdhary
Created March 9, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratheepchowdhary/2a040071f4297da215aaeaf96cf1b01c to your computer and use it in GitHub Desktop.
Save pratheepchowdhary/2a040071f4297da215aaeaf96cf1b01c to your computer and use it in GitHub Desktop.
keytool -exportcert -alias YOUR_KEYSTORE_ALIAS -keystore YOUR_KEYSTORE_FILE | xxd -p | tr -d "[:space:]" | echo -n com.example.myapp `cat` | sha256sum | tr -d "[:space:]-" | xxd -r -p | base64 | cut -c1-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment