What is the algorithm of extension id in Chrome for local folders? For instance, given extension inside /usr/mychromeextension , how I calculate its extension id ?
According to the source code in id_util.cc:
each hex digit is mapped from 0..f to a..p range:
the decimal value of each hex digit is added to the ASCII code of lowercase a (97 decimal)
We use the characters 'a'-'p' instead of '0'-'f' to avoid ever having a completely numeric host, since some software interprets that as an IP address.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With