How to create SHA1 and Key Hash in Windows 8

I know how generate

SHA1 and Hash hash in Ubuntu

12.04 but don't know how to generate inWindows 8

To generate SHA1

in Linux Ubuntu 12.04 using the following command in terminal

:

Debug

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

      

Release

keytool -list -v -keystore <keystore_path> -alias <alias_name>

      

To generate Key Hash

in Linux Ubuntu 12.04 using the following command in terminal

:

Debug

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

      

Release

keytool -exportcert -alias <alias_name> -keystore <keystore_path> | openssl sha1 -binary | openssl base64

      

Note. I followed this link for generating a SHA1

Certificate Fingerprint for Debug and Release modes

+3
android windows ubuntu sha hash


source to share


1 answer


Its pretty similar

FOR SHA1: Open Command Prompt, enter the following command

  • cd C: \ Program Files \ Java \ jdk1.8.0_45 \ bin
  • keytool -list -v -keystore C: \ PathToKeyStore -alias -storepass password -keypass password


FOR KEYS:

  • download https://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8e_X64.zip&can=2&q=
  • In addition to C: /
  • Go cmd and type cd C: \ Program Files \ Java \ jdk1.8.0_45 \ bin
  • keytool -exportcert -alias -keystore "C: \ PathToKeyStore" | "C: \ openssl-0.9.8e_X64 \ bin \ openssl" sha1 -binary | "C: \ openssl-0.9.8e_X64 \ bin \ openssl" base64
0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics