HasherInterface

HasherInterface

interface HasherInterface (View source)

Methods

string make(string $value, array $options = array())

Hash the given value.

bool check(string $value, string $hashedValue, array $options = array())

Check the given plain value against a hash.

bool needsRehash(string $hashedValue, array $options = array())

Check if the given hash has been hashed using the given options.

doc_Laravel
2016-11-02 16:20:25
Comments
Leave a Comment

Please login to continue.