   public function testEncrypt($string, $key, $expected) {
      $this->string(\Toolbox::encrypt($string, $key))->isIdenticalTo($expected);
   }
The use of a broken or risky cryptographic algorithm is an unnecessary risk that may result in the exposure of sensitive information.