Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module provides a way to encrypt data using RSA public-key cryptography, which uses separate public and private keys for encryption and decryption. It helps secure sensitive data by allowing you to encrypt it with a public key that can be shared freely, while only the corresponding private key can decrypt it. The module uses an "envelope" technique to handle data amounts larger than RSA can directly encrypt.

Encrypt RSA provides public-keys (asymmetrical) encryption method plugins for the Encrypt module, using RSA algorithm . These plugins offer a variety of solution to use public/private key to encrypt - and send - your date safely.

With normal symmetrical cryptography you use the same key to both encrypt and decrypt. Depending by the scenario, this has 2 downside:

  1. Anyone with enough permissions or even an external attacker can access your key and decrypt your data.
  2. You need to make sure your key is securely stored, because its the only thing ensuring data safety and privacy.
  3. You can decrypt the data too, which is something you probably want to avoid if there is a SLA/NDA in place with your client

Asymmetrical cryptography let you encrypt your data with a public key which you can safely store wherever you want, as the only key able to decrypt your data is the private key.

As RSA has got limits on the amount of data you can encrypt, this module use a technique called "Envelope", through standard libraries like OpenSSL or phpseclib.

Cryptography is always an evolving science. This module will try to be compatible with any underlying architecture, however this can have consequences on the level of security you will be able to achieve.

Currently the best solution is to:

  • Run this module on PHP 7.x, where the OpenSSL extension allows using AES256 method for encrypting the random key
  • Create a public/private RSA key pair, protected by passcode
  • Select "Public OpenSSL Seal" encryption method. Protect the private key safely in the environment meant to decrypt.

Check the README.txt for additional info.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0-beta1 Pre-release 10–11 May 17, 2025
2.x-dev Dev 10–11 Mar 7, 2025