Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class TripleDES extends AbstractEncryptor |
||
16 | { |
||
17 | /** |
||
18 | * 3DES constructor. |
||
19 | * |
||
20 | * @param \SimpleSAML\XMLSecurity\Key\SymmetricKey $key The symmetric key to use. |
||
21 | */ |
||
22 | public function __construct( |
||
23 | #[\SensitiveParameter] |
||
24 | SymmetricKey $key, |
||
25 | ) { |
||
26 | parent::__construct($key, C::BLOCK_ENC_3DES); |
||
27 | } |
||
28 | |||
29 | |||
30 | /** |
||
31 | * @return string[] |
||
32 | */ |
||
33 | public static function getSupportedAlgorithms(): array |
||
36 | } |
||
37 | } |
||
38 |