Files
vendor
alexgarrett
composer
danielstjules
doctrine
hassankhan
illuminate
container
contracts
Auth
Bus
Cache
Config
Console
Container
Cookie
Database
Debug
Encryption
Events
Filesystem
Foundation
Hashing
Hasher.php
Http
Logging
Mail
Pagination
Pipeline
Queue
Redis
Routing
Support
Validation
View
composer.json
database
support
nesbot
slim
symfony
twig
autoload.php
.gitignore
README.md
composer.json
composer.lock
composer.phar
mode.php
website/vendor/illuminate/contracts/Hashing/Hasher.php

34 lines
716 B
PHP
Executable File

<?php namespace Illuminate\Contracts\Hashing;
interface Hasher {
/**
* Hash the given value.
*
* @param string $value
* @param array $options
* @return string
*/
public function make($value, array $options = array());
/**
* Check the given plain value against a hash.
*
* @param string $value
* @param string $hashedValue
* @param array $options
* @return bool
*/
public function check($value, $hashedValue, array $options = array());
/**
* Check if the given hash has been hashed using the given options.
*
* @param string $hashedValue
* @param array $options
* @return bool
*/
public function needsRehash($hashedValue, array $options = array());
}