class EncryptionService in Encryption 2.x
Same name and namespace in other branches
- 8 src/EncryptionService.php \Drupal\encryption\EncryptionService
Class EncryptionService.
@package Drupal\encryption
Hierarchy
- class \Drupal\encryption\EncryptionService implements EncryptionServiceInterface uses EncryptionTrait
Expanded class hierarchy of EncryptionService
1 string reference to 'EncryptionService'
1 service uses EncryptionService
File
- src/
EncryptionService.php, line 10
Namespace
Drupal\encryptionView source
class EncryptionService implements EncryptionServiceInterface {
use EncryptionTrait;
}Members
|
Name |
Modifiers | Type | Description | Overrides |
|---|---|---|---|---|
|
EncryptionTrait:: |
public | function | Decrypt a value using the encryption key from settings.php. | |
|
EncryptionTrait:: |
public | function | Encrypt a value using the encryption key from settings.php. | |
|
EncryptionTrait:: |
public | function | Gets the `$settings['encryption_key']` value from settings.php. |