You are here

class EncryptionService in Encryption 8

Same name and namespace in other branches
  1. 2.x src/EncryptionService.php \Drupal\encryption\EncryptionService

Class EncryptionService.

@package Drupal\encryption

Hierarchy

Expanded class hierarchy of EncryptionService

1 string reference to 'EncryptionService'
encryption.services.yml in ./encryption.services.yml
encryption.services.yml
1 service uses EncryptionService
encryption in ./encryption.services.yml
Drupal\encryption\EncryptionService

File

src/EncryptionService.php, line 10

Namespace

Drupal\encryption
View source
class EncryptionService implements EncryptionServiceInterface {
  use EncryptionTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
EncryptionTrait::decrypt public function Decrypt a value using the encryption key from settings.php.
EncryptionTrait::encrypt public function Encrypt a value using the encryption key from settings.php.
EncryptionTrait::getEncryptionKey public function Gets the `$settings['encryption_key']` value from settings.php.