Are you interested in protecting the data in your Python app? Good news!

Dowload my library and use it with SQLAlchemy or Django today. It is open source and free to use in your commercial product under MIT license. However, be warned! It's ridiculously easy to implement but unless you know exactly what you're doing, don't even think about using it with your production data. The cryptography can be dangerous.

Try the library

To use with SQLAlchemy:

    from cryptbase import EncryptedText
    sensitive = Column(EncryptedText(key=DB_KEY))

To use with django:

    from cryptbase import EncryptedTextField
    sensitive = EncryptedTextField(key=DB_KEY)

DB_KEY is 32 bytes encryption key as hex-encoded string. Fields behave as TEXT fields, data are transparently encrypted when storing into the database and decrypted on retrieval.

Let me help you

You can get a tailor-made solution to protect your data. You will get it within two weeks in 97.3% cases - definitely, on a strict deadline we set up beforehand. Your developers won't have to think about problems like encryption keys, initialization vectors or keychains. I'll also prepare you for securing your existing data so that there is no disruption in your ongoing business.

Are you worried about maintenance? Are you concerned that a complex feature will limit your growth? Don't worry. With two years of free support and maintenance, I got you covered.


Book a free consultation today. You will see how you can increase the security of your service. Find out how to add value to your customers and get an assessment of current data handling from a security standpoint. Get all that completely for free.

I understand you cannot take any additional risk. If you are not satisfied for any reason during the project and up to 90 days after the handover, with my love-it-or-leave-it guarantee, I work for free. No justification is needed. However, if there happen to be an issue, I will resolve it immediately so that you love the result.


Book an appointment with Alexandr Mansurov

Warning: our industry is about fast innovation. With the shift towards data protection, once the idea is out there – with the cases and code available – I expect this approach to get popular fast.