<p>Here are the steps-</p>
<ul>
<li></li>
</ul>
<p>Download openssl from <a href="http://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_WIN32.zip"><strong>Google code</strong></a> (If you have a 64 bit machine you must <a href="http://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8e_X64.zip&can=2&q="><strong>download openssl-0.9.8e X64</strong></a> not the latest version)</p>
<ul>
<li></li>
</ul>
<p>Extract it. create a folder- OpenSSL in C:/ and copy the extracted code here.</p>
<ul>
<li></li>
</ul>
<p>detect debug.keystore file path. If u didn’t find, then do a search in C:/ and use the Path in the command in next step.</p>
<ul>
<li></li>
</ul>
<p>detect your keytool.exe path and go to that dir/ in command prompt and run this command in 1 line-</p>
<p>$ keytool -exportcert -alias androiddebugkey -keystore “C:\Documents and Settings\Administrator.android\debug.keystore” | “C:\OpenSSL\bin\openssl” sha1 -binary<br>
|“C:\OpenSSL\bin\openssl” base64</p>
<ul>
<li>
<p>it will ask for password, put android</p>
</li>
<li>
<p>that’s all. u will get a key-hash</p>
</li>
</ul>
<p>For more info <a href="http://shareprob.blogspot.in/2012/07/android-key-hash-for-facebook-app-its.html"><strong>visit here</strong></a></p>