1: <?php
2:
3: namespace Deimos\Secure\Extension;
4:
5: trait Algorithm
6: {
7:
8: /**
9: * Ref: http://www.php.net/manual/en/function.openssl-get-cipher-methods.php
10: *
11: * @var string
12: */
13: private $algorithm = 'AES-256-CTR';
14:
15: /**
16: * @param string $value
17: *
18: * @return $this
19: */
20: protected function setAlgorithm($value)
21: {
22: $this->algorithm = $value;
23:
24: return $this;
25: }
26:
27: }