Skip to content

nerdstein/encrypt

 
 

Repository files navigation

Encrypt Module for Drupal 8

This module provides a global encryption service that can be invoked via the services interface.

Architecture

Encrypt leverages the Drupal 8 Plugin API for Encryption Methods. It also leverages the Key module for maintenance of encryption Keys.

Plugins allow for extensibility for customized needs.

Settings

The service is configured through the settings form, found at admin/config/security/encryption.

It requires a key, which is provided by the Key module. To manage keys, visit admin/config/system/key.

Use of Services

After configuring the service, the service provides the ability to encrypt and decrypt.

Encrypt

Drupal::service('encryption')->encrypt($string);

Decrypt

Drupal::service('encryption')->decrypt($string);

About

D8 port for encrypt module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.9%
  • Shell 2.1%