Added vendor/ directory for Composer's installed files
This commit is contained in:
5
vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Executable file
5
vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
<?php namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class DecryptException extends RuntimeException {}
|
37
vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Executable file
37
vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Executable file
@ -0,0 +1,37 @@
|
||||
<?php namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
interface Encrypter {
|
||||
|
||||
/**
|
||||
* Encrypt the given value.
|
||||
*
|
||||
* @param string $value
|
||||
* @return string
|
||||
*/
|
||||
public function encrypt($value);
|
||||
|
||||
/**
|
||||
* Decrypt the given value.
|
||||
*
|
||||
* @param string $payload
|
||||
* @return string
|
||||
*/
|
||||
public function decrypt($payload);
|
||||
|
||||
/**
|
||||
* Set the encryption mode.
|
||||
*
|
||||
* @param string $mode
|
||||
* @return void
|
||||
*/
|
||||
public function setMode($mode);
|
||||
|
||||
/**
|
||||
* Set the encryption cipher.
|
||||
*
|
||||
* @param string $cipher
|
||||
* @return void
|
||||
*/
|
||||
public function setCipher($cipher);
|
||||
|
||||
}
|
Reference in New Issue
Block a user