Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome - Alphanumeric hashes to identify extensions

Tags:

Google Chrome is using alpha numeric hashes as identifiers for the Chrome extensions. For eg. "ajpgkpeckebdhofmmjfgcjjiiejpodla" is the identifier for XMarks Bookmark Sync extension.

Which algorithm is in use here to generate such strings? How are they ensuring uniqueness?

like image 557
Vijay Dev Avatar asked Dec 10 '09 18:12

Vijay Dev


People also ask

Can Chrome extensions be detected?

“Chrome extensions can be detected by fetching their web-accessible resources — the files inside an extension that web pages can access,” z0ccc explained. “The detected extensions can be used to track you through browser fingerprinting.”

How do I locate Chrome extensions?

On your computer, open Chrome . At the top right, click Extensions .

How do I know if I have unwanted extensions in Chrome?

To remove (or uninstall) Chrome extensions, follow the steps below: Open Chrome, and click / tap the menu button “…” Click / tap More Tools. Click / tap Extensions.


1 Answers

To be precise, it's the first 128 bits of the SHA256 of an RSA public key encoded in base 16.

Another random bit of trivia is that the encoding uses a-p instead of 0-9a-f. The reason is that leading numeric characters in the host field of an origin can wind up being treated as potential IP addresses by Chrome. We refer to it internally as "mpdecimal" after the guy who came up with it.

like image 113
Erik Kay Avatar answered Oct 17 '22 04:10

Erik Kay