Facebook Key Hashes 生成

假如签名文件为debug.keystore

那么我们可以把debug.keystore文件拷贝到keytool所在目录下

首先运行如下

keytool -exportcert -alias thisisaliasname -keystore debug.keystore > d:\openssl\bin\debug.keystore.txt

要求输入密钥,比如123456

在d:\openssl\bin目录下得到了debug.keystore.txt

于是进入到d:\openssl\bin目录后运行如下

openssl sha1 -binary debug.keystore.txt > debug.keystore.sha.txt

于是再次得到由sha1算法计算得到的二进制结构的debug.keystore.sha.txt

最后再次运行如下

openssl base64 -in debug.keystore.sha.txt > debug.keystore.base64.txt

那么打开文件debug.keystore.base64.txt即可得到你想要的Key Hashes值了

示例结果:

c9b8ebf26b25f437a75c20ff2ee8f2f74b8.jpg

转载于:https://my.oschina.net/andyhua/blog/1830472

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
To update the hashes, you can follow the steps below: 1. Make sure you have the correct package versions that match the requirements file. 2. Generate the correct hashes for the packages. You can use tools like `sha256sum` or `hashlib` in Python to calculate the hashes. 3. Update the requirements file with the correct package versions and hashes. 4. Reinstall the packages using the updated requirements file. Please note that it's important to ensure the integrity of the packages by verifying the hashes. This helps to detect any tampering or modifications to the packages.<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [工作笔记|ubuntu问题集锦|持续更新](https://blog.csdn.net/qq_40711769/article/details/105446681)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.](https://blog.csdn.net/qq_44985985/article/details/124241962)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [[ ERROR] THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE](https://blog.csdn.net/weixin_42512684/article/details/121886781)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值