C
C
Chesterfield252021-12-11 20:15:45
Java
Chesterfield25, 2021-12-11 20:15:45

Is it possible to get hashes from play console?

Hello. I would like to know if it is possible to programmatically get the hashes of the application itself from the play console in a java application and how to do it? I will be glad for any help.

Why do I need it at all and why programmatically?
To protect your application from being hacked and using my api.
For example, I took the hash of my application from the play console and added it to the database on the server, and checked if the server receives a post request from the application with an identical hash, then I give access to the api, if the request is not correct, then access to the api is prohibited! Thus, I give access to the api only after authentication. And if the application is hacked by a third party, they will still not be able to access my api, for the reason that the hash is not stored in the public domain in the application, but is taken programmatically! I apologize if something is not explained well!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexVWill, 2021-12-11
@AlexVWill

Theoretically yes. You need to enter the application via Google Sign In https://developers.google.com/identity/sign-in/and...
And then parse the page at
https://play.google.com/console/u/1/ developers/72-...
In the HTML code there will be fields where the keys are.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question