title: Mac App Store Receipt Validation Code?
body: <p>Wondering if anyone has a tutorial or working code for the new Mac App Store's receipt validation?  About the only references I've been able to find so far are Apple's stellar documentation on the topic and one open source project which compiles but doesn't have a lot of inline comments so it's hard to understand unless you are a crypto whiz.</p>
  
  <p>Apple docs for registered devs only:</p>
  
  <p><a href="https://developer.apple.com/devcenter/mac/documents/validating.html" rel="nofollow noreferrer">https://developer.apple.com/devcenter/mac/documents/validating.html</a></p>
  
  <p>Roddi's ValidateStoreReceipt (looks promising, but sparsely documented):</p>
  
  <p><a href="https://github.com/roddi/ValidateStoreReceipt" rel="nofollow noreferrer">https://github.com/roddi/ValidateStoreReceipt</a></p>
  
  <p>Also wondering why Apple does not just provide working code for validation?</p>
  
  <p>Any other good references out there?</p>