Top-rated recipes tagged "hmac"http://code.activestate.com/recipes/tags/hmac/top/2010-01-26T16:05:50-08:00ActiveState Code RecipesAuthenticated encryption with PyCrypto (Python) 2010-01-26T16:05:50-08:00Daniel Millerhttp://code.activestate.com/recipes/users/4016391/http://code.activestate.com/recipes/576980-authenticated-encryption-with-pycrypto/ <p style="color: grey"> Python recipe 576980 by <a href="/recipes/users/4016391/">Daniel Miller</a> (<a href="/recipes/tags/aes/">aes</a>, <a href="/recipes/tags/encrypt/">encrypt</a>, <a href="/recipes/tags/hmac/">hmac</a>, <a href="/recipes/tags/pycrypto/">pycrypto</a>). Revision 3. </p> <p>PyCrypto-based authenticated encryption using AES-CBC and HMAC-SHA256. This class only supports shared secret encryption. Look elsewhere for public key encryption.</p>