Google Chrome - Alphanumeric hashes to identify extensions

后端 未结 8 700
别那么骄傲
别那么骄傲 2020-11-29 02:17

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

8条回答
  •  离开以前
    2020-11-29 02:53

    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.

提交回复
热议问题