Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Encryption/StringEncrypter.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Encryption;
4
5 interface StringEncrypter
6 {
7 /**
8 * Encrypt a string without serialization.
9 *
10 * @param string $value
11 * @return string
12 *
13 * @throws \Illuminate\Contracts\Encryption\EncryptException
14 */
15 public function encryptString(#[\SensitiveParameter] $value);
16
17 /**
18 * Decrypt the given string without unserialization.
19 *
20 * @param string $payload
21 * @return string
22 *
23 * @throws \Illuminate\Contracts\Encryption\DecryptException
24 */
25 public function decryptString($payload);
26 }