swoole-framwork/vendor/illuminate/support/Facades/Crypt.php
2024-05-20 11:51:07 +08:00

31 lines
874 B
PHP

<?php
namespace Illuminate\Support\Facades;
/**
* @method static bool supported(string $key, string $cipher)
* @method static string generateKey(string $cipher)
* @method static string encrypt(mixed $value, bool $serialize = true)
* @method static string encryptString(string $value)
* @method static mixed decrypt(string $payload, bool $unserialize = true)
* @method static string decryptString(string $payload)
* @method static string getKey()
* @method static array getAllKeys()
* @method static array getPreviousKeys()
* @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys)
*
* @see \Illuminate\Encryption\Encrypter
*/
class Crypt extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'encrypter';
}
}