Created
January 5, 2019 08:01
-
-
Save hirenrojasara/060672b62df673c092b6f1d82345bd53 to your computer and use it in GitHub Desktop.
Android Automatic SMS Verification with the SMS Retriever API - HASH Generation on MAC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -exportcert -alias [KEY_STORE_ALIAS] -keystore [KEY_STORE_FILE_PATH] -storepass [KEY_STORE_PASSWORD] | |
| xxd -p | |
| tr -d "[:space:]" | |
| echo -n [PACKAGE_NAME] `cat` | |
| openssl dgst -sha256 | |
| cut -d' ' -f2 | |
| 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