1. Download openssl for windows from the links below
此处需要翻墙下载
提供一个国内下载:http://pan.baidu.com/s/1eQlHozw
2. Extract it
C:\openSSL for me
3. Find the keytool (*you can try a search inside the java installation directory
for me it is C:\Program Files (x86)\Java\jre6\bin
4. find the debug.keystore
C:\Users\USERNAME\.android
5. Open command prompt, and go to the keytool directory
6. Run the following command after replacing OPENSSLPATH with the openssl folder path and KEYSTOREPATH with your keystore path
keytool -exportcert -alias androiddebugkey -keystore "KEYSTOREPATH\debug.keystore" | "OPENSSLPATH\bin\openssl" sha1 -binary |"OPENSSLPATH\bin\openssl" base64
7. If it ask for a password enter android
android
OK,success!
其他签名是一样的,只要找到路径就OK
source---http://geekiest.net/post/Key-Hashes-for-Facebook-Apps-Android-application-development-in-Windows.aspx