PluginProbe ʕ •ᴥ•ʔ
Tidio – Live Chat & AI Chatbots / trunk
Tidio – Live Chat & AI Chatbots vtrunk
trunk 3.3.2 3.4.0 3.5.0 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.3.0 4.4.0 4.5.0 4.5.1 5.0.0 5.1.0 5.2.0 5.3.0 5.4.0 5.4.1 5.4.2 5.4.3 6.0.0 6.0.1 6.0.10 6.0.11 6.0.13 6.0.14 6.0.15 6.0.16 6.0.17 6.0.18 6.0.18-fix 6.0.19 6.0.2 6.0.20 6.0.21 6.0.22 6.0.23 6.0.24 6.0.25 6.0.26 6.0.27 6.0.28 6.0.29 6.0.3 6.0.30 6.0.31 6.0.4 6.0.5 6.0.6 6.0.7 6.0.8 6.0.9 6.1.0 7.0.0 8.0.0
tidio-live-chat / src / Encryption / EncryptionService.php
tidio-live-chat / src / Encryption Last commit date
Exception 2 weeks ago Service 2 weeks ago EncryptionService.php 2 weeks ago
EncryptionService.php
26 lines
1 <?php
2
3 namespace TidioLiveChat\Encryption;
4
5 if (!defined('WPINC')) {
6 die('File loaded directly. Exiting.');
7 }
8
9 use TidioLiveChat\Encryption\Exception\DecryptionFailedException;
10
11 interface EncryptionService
12 {
13 /**
14 * @param string $value
15 * @return string
16 */
17 public function encrypt($value);
18
19 /**
20 * @param string $encryptedString
21 * @return string
22 * @throws DecryptionFailedException
23 */
24 public function decrypt($encryptedString);
25 }
26