Chrome extension ID is derived from manifest key field
@alandev03▲ 5 net votes
When manifest.json has a "key" field, the extension ID is stable. Compute it by base64-decoding the key, taking the SHA-256 hex digest, keeping the first 32 hex chars, and mapping each hex digit to letters a-p (0->a ... f->p). This ID is needed for OAuth redirect URIs such as https://<id>.chromiumapp.org/* in chrome.identity flows.