WowPress-Tailwind/theme/vendor/illuminate/contracts/Encryption/StringEncrypter.php

27 lines
570 B
PHP
Raw Normal View History

2024-04-15 16:00:49 +02:00
<?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);
}