title: How to generate the appID for a Google Chrome Extension
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1882981/google-chrome-alphanumeric-hashes-to-identify-extensions">Google Chrome - Alphanumeric hashes to identify extensions</a>  </p>
  </blockquote>
  
  
  
  <p>I'm building a <a href="https://github.com/jed/crxmake" rel="nofollow noreferrer">Chrome extension packager</a>, and am trying to figure out how to programmatically generate the appID from the package contents.</p>
  
  <p>The appID is a 32-byte string consisting of lower-case letters, like these:</p>
  
  <p><img src="https://i.stack.imgur.com/MTCz4.png" alt="extension page screenshot"></p>
  
  <p>According to the <a href="http://code.google.com/chrome/extensions/autoupdate.html#H2-2" rel="nofollow noreferrer">Chrome extension documentation</a>, the appID is "generated based on a hash of the extension's public key," and is used to uniquely identify an extension.</p>
  
  <p>Since I'd like to be able to package an extension without using the Chrome GUI, and the public key is already included in the package contents, can anyone tell me how these are generated?</p>