先下载OpenSSL工具
执行这个命令
keytool -exportcert -alias androiddebugkey -keystore debug.keystore > c:\openssl\bin\debug.txt
其中androiddebugkey是你 xxx.keystore文件的路径,debug是你 .keystore文件的名字
然后路径cd到openssl文件夹下的bin目录
执行
openssl sha1 -binary debug.txt >debug_sha.txt
再执行:
openssl base64 -in debug_sha.txt >debug_base64.txt
生成的debug_base64.txt里就是你需要的28位的秘钥散列
————————————————
版权声明:本文为CSDN博主「chuxinba」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hover2/article/details/106480110