PHP 8.2.31
Preview: Encrypter.php Size: 1.03 KB
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/illuminate/contracts/Encryption/Encrypter.php

<?php

namespace RectorPrefix202411\Illuminate\Contracts\Encryption;

interface Encrypter
{
    /**
     * Encrypt the given value.
     *
     * @param  mixed  $value
     * @param  bool  $serialize
     * @return string
     *
     * @throws \Illuminate\Contracts\Encryption\EncryptException
     */
    public function encrypt($value, $serialize = \true);
    /**
     * Decrypt the given value.
     *
     * @param  string  $payload
     * @param  bool  $unserialize
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Encryption\DecryptException
     */
    public function decrypt($payload, $unserialize = \true);
    /**
     * Get the encryption key that the encrypter is currently using.
     *
     * @return string
     */
    public function getKey();
    /**
     * Get the current encryption key and all previous encryption keys.
     *
     * @return array
     */
    public function getAllKeys();
    /**
     * Get the previous encryption keys.
     *
     * @return array
     */
    public function getPreviousKeys();
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
151 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.03 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
151 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
588 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).