title: CMAC-AES in Python
body: <p>I am trying to implement an integration with this api in a Django app.<a href="http://pdn.pearson.com/pearson-learningstudio/apis/authentication/authentication-use-cases/use-case-submit-request-using-oauth2-assertion_x" rel="nofollow">http://pdn.pearson.com/pearson-learningstudio/apis/authentication/authentication-use-cases/use-case-submit-request-using-oauth2-assertion_x</a></p>
  
  <p>Almost everything works, except for using their assertion authentication method.  I need to encrypt an assertion string using CMAC-AES, and I have no idea how to do that.</p>
  
  <p>All of their sample code uses built in libraries to the languages, and I cannot find any libraries that will let me do that in Python.  I have been googling around all day, and have found precisely nothing.</p>
  
  <p>Does anybody know where I can get a library which will let me do this?  Or how to work around it</p>
  
  <p>Thanks</p>
  
  <p>-Alex</p>