Introducing Azure Encryption Extensions

30 Jul

Azure Encryption Extensions-logo-black

I am frequently asked about data security in Azure and specifically Azure Blob Storage.  For many scenarios the best option is to encrypt data before storing it in Azure, however this is non-trivial, even with the cryptography support in the .net Framework.

To make some of these common encryption scenarios easier I’ve created a library called Azure Encryption Extensions.  The purpose of the library is to provide a set of extension methods over the .Net Azure storage library to easily store and retrieve encrypted data from Azure Blob Storage.  It takes care of properly implementing the .Net cryptographic service providers for RSA and AES encryption in a way that is easy to integrate into existing Azure applications.

Here is a little example of using A.E.E. to encrypt a blob using an X509Certificate2, upload it to Azure, and retrieve it again:

For more information go check out the documentation on the project page:


Or grab the library via Nuget:

One Reply to “Introducing Azure Encryption Extensions”

  1. Stefan,

    I would like to use your Azure Encryption Extensions, but my project is stuck in .NET 4.0 (it’s complicated) – and when I try to install the NuGet Package I get:
    Install-Package : Could not install package ‘AzureEncryptionExtensions 1.0.0’. You are trying to install this package into a project that targets
    ‘.NETFramework,Version=v4.0’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information,
    contact the package author.

    Is there a version targeted to 4.0 available? Do you see any potential problems if I try to just recompile the source in that environment?

Leave a Reply

Your email address will not be published. Required fields are marked *