I need to get some hash from my app signing for Facebook SDK https://developers.facebook.com/quickstarts/?platform=android
We could get like this but old way because seems Facebook doesn't know that app now uses Google Play Signing and it's an upload keystore:
keytool -exportcert -alias MY_ALIAS_NAME -keystore MY_PATH_TO_KEYSTORE_FILE | openssl sha1 -binary | openssl base64
So I found this answer https://stackoverflow.com/a/54682874/7767664 which suggests to use SHA1 and convert with http://tomeko.net/online_tools/hex_to_base64.php
But I tested this solution with SHA1 of my upload key and that converter website and solution from Facebook keytool -exportcert -alias UPLOAD_KEY_ALIAS_NAME -keystore PATH_TO_UPLOAD_KEYSTORE_FILE | openssl sha1 -binary | openssl base64 and results are different! It's not the same at all
What does it mean? Why results are different?
So I can copy SHA1 from Google Play Console website for needed app but I can't use http://tomeko.net/online_tools/hex_to_base64.php because it doesn't work the same as using keystore and openssl commands