• File: StringEncrypter.php
  • Full Path: /var/www/crm_set/application/vendor/illuminate/contracts/Encryption/StringEncrypter.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 570 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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);
}