What is the SHA1 fingerprint?

I get a Google Play API key from Google and it asks for a SHA1 fingerprint. I want to know what is SHA1 fingerprint? I also wanted to know if this API key can be used from another computer / PC?

+10
source share
6 answers

This is the standard for implementing a β€œsecure hashing algorithm,” a one-way cryptographic function that can be used to β€œsign” a sequence of bytes. It is very unlikely that two different byte sequences will give the same value (although this is not possible).

http://en.wikipedia.org/wiki/SHA-1

Please note that these days there are other, more reliable standards, for example. SHA256 onwards.

+5
source

They ask for the SHA1 fingerprint in your keystore file (you sign your applications using this before you can click them into a Google game).

you can get your key by doing this

keytool -exportcert -alias your-key-name -keystore /path/to/your/keystore/file -list -v 

you can use the keystore file from another computer, just put it on a USB drive or send it by e-mail to yourself (be sure to save it in a folder! IMPORTANT!) and specify your IDE in the file

+3
source

If you are using the Eclipse IDE, the easiest way to get the SHA1 fingerprint for your application:

  • click on the project application in the project explorer (left).
  • in the top menu, click "Window" β†’ "Settings"
  • in the "Settings" window on the left, expand Android and click "Create"

You should see the following information:

  • default cache debug path
  • Fingerprint MD5
  • Fingerprint SHA1

You can also add another keystore file (for example, a production keystore), as well as values ​​for this keystore.

+3
source

SHA - for Secure Hash algorithm.

SHA-1 is one of several cryptographic hash functions. SHA-1 is most often used to verify that a file has not changed. This is done by creating a hash value (a hash value is created by running an algorithm called a cryptographic hash function) before the file has been transferred and then again as soon as it reaches its destination. The transferred file can be considered authentic only if both checksums are identical.

A file hashed with SHA1 might look like this:

752c14ea195c369bac3c3b7896975ee9fd15eeb7

For a detailed explanation, you can contact: https://www.lifewire.com/what-is-sha-1-2626011

+2
source

The easiest way to get fingerprint SHA 1 is to click on the Gradle in the upper right corner, in the corner of the Android Studio screen. Then click on the name of the application (for example, android123 (root): it should look like this). After that, you will find a subfolder named android and, clicking on it, go to signing Report.It should start in the console and show you the fingerprint of the SHA 1 certificate. I hope it helps.

0
source

https://en.wikipedia.org/wiki/SHA-1 this key is the same for all time in one system there is no need to compile every time just take it once

0
source

Source: https://habr.com/ru/post/1201894/


All Articles