Android的密钥散列 [英] Android Key Hash

查看:1936
本文介绍了Android的密钥散列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜的朋友我想生成密钥散列纳入Facebook应用程序在我的应用程序..我有打开SSL邮编。 PL指导我如何生成密钥。

Hi friends i wanna to generate Key hash to incorporate FaceBook Application in my Apps.. I am having Open SSL Zip. pl guide me how to generate key..

推荐答案

在你的终端输入这个(MAC)

Type this in your terminal (mac)

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

还是这到控制台(视窗)

Or this into the console (windows)

keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64

您必须输入密码。密码是:机器人

You will have to enter a password. The password is: android

一个code上来了,而code是关键的哈希值。

A code will come up and that code is your key hash.

这篇关于Android的密钥散列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆