How to get the SHA1 or MD5 from Android Keystore

This terminal command solved my problem

keytool -list -keystore /PathToYourKeystore/Keystore.keystore

Well, almost. With this command I have the SHA1 fingerprint and I need a 16 hexadecimal pairs … SHA1 has more than that. So I need specifically the MD5 fingerprint.

To do that, just add “-v” to that terminal command:

keytool -list -keystore /PathToYourKeystore/Keystore.keystore -v

Type your Keystore password and you’ll have all fingerprints, including the MD5.