This library implements macaroons as described in the paper "Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud".
It uses HMAC-SHA256 and AES-GCM.
This is a work-in-progress and should not be used in production.