public function decryptArray(string $encrypted, string $key = null): array
    {
        return \json_decode($this->decrypt($encrypted, $key), true);
    }
public function decryptArray(string $encrypted, string $key = null): array
    {
        return \json_decode($this->decrypt($encrypted, $key), true);
    }
public function decryptArray ( string $ encrypted , string $ key = null ) : array { return \ json_decode ( $ this -> decrypt ( $ encrypted , $ key ) , true ) ; }
Decrypt a message originally encrypted from an array.

@param string $encrypted The encrypted message
@param string $key       The encryption key

@throws CryptException On any failure

@return array
Decrypt a message originally encrypted from an array .