interface Illuminate / Contracts / Hashing / Hasher
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

Hasher

Methods

public

info ( $hashedValue ) : array

Get information about the given hashed value.

Parameters

  • $hashedValue string
public

make ( $value , array $options ) : string

Hash the given value.

Parameters

  • $value string
  • $options array
public

check ( $value , $hashedValue , array $options ) : bool

Check the given plain value against a hash.

Parameters

  • $value string
  • $hashedValue string
  • $options array
public

needsRehash ( $hashedValue , array $options ) : bool

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

Parameters

  • $hashedValue string
  • $options array