如何得到keyhash

   keyhash是由keystore产生的android

三个命令解决问题工具

keytool -exportcert -alias androiddebugkey -keystore debug.keystore > debug.txtdebug

输入密码:
openssl sha1 -binary debug.txt > debug_sha.txt
openssl base64 -in debug_sha.txt > debug_base64.txtssl

debug_base64.txt内就是keystore对应的keyhashopenssl

 

在mac下能够本身生成,win下可能须要keytool工具和openssl工具hash

相关文章
相关标签/搜索