$ciphers
$ciphers : array<mixed,\CryptoManana\Core\Abstractions\MessageEncryption\AbstractBlockCipherAlgorithm>
The internal encryption cipher collection property storage.
Class LayeredEncryption - The multiple layered encryption protocol object.
$ciphers : array<mixed,\CryptoManana\Core\Abstractions\MessageEncryption\AbstractBlockCipherAlgorithm>
The internal encryption cipher collection property storage.
__construct(array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array  $configuration = array()) 
                        Container constructor.
| array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array | $configuration | The layers' configuration. | 
Initialization validation.
setLayers(array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array  $layers) : $this
                        Setter for the encryption layers' configuration.
| array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array | $layers | Collection of layers. | 
Validation errors.
The cryptographic protocol object.
addLayer(\CryptoManana\DataStructures\EncryptionLayer  $layer) : $this
                        Add a single new layer at the last of the list.
| \CryptoManana\DataStructures\EncryptionLayer | $layer | The layer configuration. | 
Validation errors.
The cryptographic protocol object.
getLayers() : array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array
Getter for the encryption layers' configuration.
Validation errors.
Collection of used layers' configuration.
layeredEncryptData(string $plainData, string $oneTimePad = '') : string
Encrypts the given plain data multiple times with different algorithms as layers.
| string | $plainData | The plain input string. | 
| string | $oneTimePad | The optional one-time pad key. | 
Validation errors.
The cipher/encrypted data.
layeredDecryptData(string $cipherData, string $oneTimePad = '') : string
Decrypts the given cipher data multiple times with different algorithms as layers.
| string | $cipherData | The encrypted input string. | 
| string | $oneTimePad | The optional one-time pad key. | 
Validation errors.
The decrypted/plain data.