20220717
This commit is contained in:
26
vendor/illuminate/contracts/Encryption/StringEncrypter.php
vendored
Normal file
26
vendor/illuminate/contracts/Encryption/StringEncrypter.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
interface StringEncrypter
|
||||
{
|
||||
/**
|
||||
* Encrypt a string without serialization.
|
||||
*
|
||||
* @param string $value
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function encryptString($value);
|
||||
|
||||
/**
|
||||
* Decrypt the given string without unserialization.
|
||||
*
|
||||
* @param string $payload
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function decryptString($payload);
|
||||
}
|
Reference in New Issue
Block a user