According Pascal's comment on a similar thread, this method is not working since december 2012. So you will have to use the commandprompt method to get the correct hash key.
"ENABLE_LOG cannet be changed anymore since December 2012 – Pascal Klein Feb 24 at 3:41"
here is a link to the thread: Android: Facebook login doesn't work
I tried several commands in the command prompt and now I finally found one that worked for me. I hope it will work for you too. (I use x64 Windows 7)
Download this version of openssl: openssl for x64 Windows
Make a folder called openssl in your C:\ directory.
Extract the openssl zip in the openssl folder.
Go to the location of the keytool.exe (C:\Program Files (x86)\Java...\bin)
While holding shift, right click the bin folder and open a command prompt window.
Enter the following:
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\"username"\.android\debug.keystore" | "C:\openssl\bin\openssl" sha1 -binary | "C:\openssl\bin\openssl" base64
(replace "username" with your username. Without the quotes of course)
You must enter the password: android
Your hash key should appear. (if you get a '=' in the key, don't delete it. Its part of the key)
Good luck building your application!
credits to C Abernathy for posting this method.