2017-04-12 126 views
-1

我正在学习制作Facebook应用程序,并已进入必须输入28个字符密钥散列的部分。密钥散列格式

我已经搜索论坛和互联网后答案,但我找不到任何。 如果有人这样做,请给我一个链接,我会关闭这个线程。

我运行代码:keytool -exportcert -alias androiddebugkey -keystore%HOMEPATH%.android \ debug.keystore | openssl sha1 -binary | openssl base64 - 在PowerShell中,它以这种格式返回32个字符的代码:xxx/xxxxxxx/xxx/xxx/xxx/xxxxxx ==我无法得到我在做什么错误或我该如何翻译此代码到另一种格式。

Thx求助!

回答

0

问题原来是由在powershell而不是cmd中运行命令引起的。