Skip to content
Related Articles

Related Articles

How to Add SHA Fingerprints For Your Firebase Android App?

Improve Article
Save Article
  • Last Updated : 27 Sep, 2022
Improve Article
Save Article

In the field of cryptography, SHA-1 (Secure Hash Algorithm 1) is a hash function that accepts an input and generates a 160-bit (20-byte) hash value known as a message digest, which is commonly represented by 40 hexadecimal digits. Despite being cryptographically weak, SHA-1 is still frequently used. You must supply the SHA-1 of your signing certificate to some Google Play services (like Google Sign-in and App Invites) in order for us to generate an OAuth2 client and API key for your app. In this article we will learn how to add SHA-1 to your Android App in the easiest way possible, using as less steps and code as possible.

Step by Step Implementation

Step #1: Open the Firebase Console

Open your firebase console, and choose the Android App you wish to add SHA-1 into, from the images mentioned below:

Note: You need to connect your Android Project First to Firebase

 A working Android Project connected to Firebase


Step #2: Tap on the gear icon (settings) to open settings to your Firebase Project

 Tap the 'Project Settings


Step #3: Click on the ‘Add Fingerprint’ Button from the box

Click on the button


Step #4: The Final Step

Adding the SHA-1 to your app



This is the easiest way possible to get your SHA – 1 Key in your Firebase console, there is no more straightforward way to do it rather than this at the time of writing this article. Hope this article helps you get the most out of your Firebase Configuration.

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!