Why keytool is generating different facebook androiddebugkey hash?
<p>I am creating Android application which use Facebook login SDK.</p>

<p>I'd like to generate debug key hash. On Facebook website I found this command:</p>

<blockquote>
  <p>keytool -exportcert -alias androiddebugkey -keystore
  %HOMEPATH%.android\debug.keystore | openssl sha1 -binary | openssl
  base64</p>
</blockquote>

<p>I modified this command to work on my computer:</p>

<blockquote>
  <p>keytool -exportcert -alias androiddebugkey -keystore
  C:\Users\redio\.android\debug.keystore | "C:\OpenSSL\bin\openssl" sha1
  -binary |"C:\OpenSSL\bin\openssl" base64</p>
</blockquote>

<p>Next I entered password: android</p>

<p>this command generated this hash: QUhvjKstiP5gc7hPEzwF89mwHws=</p>

<p>then I pasted it in facebook developer console 
and facebook is still saying that key hash is invalid. I know that I can copy the key hash from warning message, and paste it in facebook developer console. But my question is why keytool is generating wrong key hash?</p>