源教程:http://www.cnblogs.com/sevenyuan/p/3968908.html


1:需下載 openssl

http://blog.rx836.tw/blog/android-facebook-key-hashes/

下載後,解壓縮,如下,到bin資料下底下取得openssl.exe


2:将oppenssl.exe放到   D:\jdk\jdk1.8.0_05\bin


3:命令行执行:

keytool -exportcert -alias taiwan -keystore D:\Desktop\taiwan.keystore | openssl sha1 -binary | openssl base64


既:keytool -exportcert -alias 别名 -keystore 签名文件路径 | openssl sha1 -binary | openssl base64


4:输入密码,回车

生成的格式:keyhash  ---   jUoJVf7hKzai8u4bgIH5bH/1ggo=


效果图:

wKioL1druazSl_-EAAB4MoGd8U4098.png-wh_50