Android SDK license hash generator

Project URL:

I made a tool for generating those license hashes you need for downloading the Android SDK packages from Gradle.

And that comes down to downloading an XML file, extracting a piece of text, fussing with some whitespace, and hashing it.

I ended up implementing it in CyberChef, but the recipe is being version controlled on Glitch (in the form of a link in an HTML file lol), so there’s that.

Oh, and I forgot to mention: I couldn’t figure out how to use XPath (is that even an appropriate tool?), so there’s some image regex and HTML entity decoding 🤦.