Encrypting and decrypting content in Drupal

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

There are at least two modules to do encryption in Drupal. This page compares those modules to help people choose a good one.

Last updated: 6 November, 2017

  • Encrypt

    • Includes multiple encryption methods from simple to complex depending on libraries available on the server
    • Focused on being a simple API that doesn't do much on its own
    • Uses CTools plugins for encryption methods and key providers
    • Contains unit tests for all the features
    • Includes a sub-module that makes it easy for developers to encrypt/decrypt any FAPI field in a way that is transparent to users
    • 568 lines of php code, 42% comments
    • 6298 reported installed sites
  • AES

    • Includes one encryption method - AES
    • Includes functionality to store all users' passwords in an encrypted form (in addition to core's hashed version) and allows admins to views these passwords via the web interface
    • Can use PHP extension mcrypt or phpseclib external library
    • Has no simpletests
    • 637 lines of php code, 10.4% comments
    • 5153 reported installed sites

Comments

I just did some work on the

greggles's picture

I just did some work on the Encrypt module and have released a 7.x-2.0-beta3 release.

This comparison is somewhat biased towards the Encrypt module since I'm more familiar with its features. I encourage others to make it less biased based on their knowledge of the modules :)

Encrypt 7.x-2.x has received

greggles's picture

Encrypt 7.x-2.x has received a lot of great work by rlhawk and Cellar Door. It's now got an rc1 release. I'd love to get feedback/testers from anyone interested in it http://drupal.org/project/encrypt

I'd appreciate...

Elis@_forlgbtkampene's picture

I'd appreciate if someone skilled could make such module which would encrypt message based on Javascript library (OpenPGP.js).
More details as well as what is used, you can see at working example at:

https://encrypt.to

Thanks in advance, if someone would like to make it for Drupal also ;-)

Protected Content does that

rodrigo panchiniak fernandes's picture

I had to learn OpenPGPjs API and put it all together. it is being used in production since 2019. Hundreds of thousands of contents have been handled with this, with users in several continents. Still, it is a relatively small and humble project. If you are still around and interested, check it out at https://www.drupal.org/project/proc

Is encrypt needed if I ssl is

socialnicheguru's picture

Is encrypt needed if I ssl is used exclusively?
How about if a site is used in mixed mode - https and http?

fluxsauce's picture

Modules like encrypt or AES encrypt data. SSL encrypts the communication between the server and the client.

Similar Module Review

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: