PHP 8.3.31
Preview: Encrypter.php Size: 1.04 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Contracts/Encryption/Encrypter.php

<?php

namespace 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(#[\SensitiveParameter] $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
133 B lrw-rw-rw- 2025-09-17 06:53:00
Edit Download
1.04 KB lrw-rw-rw- 2025-09-17 06:53:00
Edit Download
133 B lrw-rw-rw- 2025-09-17 06:53:00
Edit Download
593 B lrw-rw-rw- 2025-09-17 06:53:00
Edit Download

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