Thursday, 3 April 2014

Hash key generation

follow these steps:
 1. Set path on your cmd.(your java bin path)
     C:\Program Files\Java\jdk1.7.0_03\bin

 2. Then download openssl-0.9.8k_WIN32. Paste it into your C: folder.

 3. Use following command to use alias object.
    -export -alias myAlias -keystore 

 4.find your debug.keystore file and copy its path.
   eg.C:\Users\Admin\.android\debug.keystore 
  5. use given full command as given below.

C:\Program Files\Java\jdk1.7.0_03\bin\keytool -export -alias myAlias -keystore C:\Users\Admin\.android\debug.keystore |   C:\openssl-0.9.8k_WIN32\bin\openssl enc -a -e

 6.It will ask for password.put PASSWORD = android

 7. You will get your hashkey.
    for reference view given prompt.(hash key removed).