class Illuminate / Hashing / HashManager

HashManager

Extends

Implements

Methods

public

createBcryptDriver ( ) : BcryptHasher

Create an instance of the Bcrypt hash Driver.

public

createArgonDriver ( ) : ArgonHasher

Create an instance of the Argon2i hash Driver.

public

createArgon2idDriver ( ) : Argon2IdHasher

Create an instance of the Argon2id hash Driver.

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
public

isHashed ( $value ) : bool

Determine if a given string is already hashed.

Parameters

  • $value string
public

getDefaultDriver ( ) : string

Get the default driver name.