Skip to content

Commit

Permalink
add function info to hasher
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreySavenkov committed Mar 16, 2019
1 parent 6e5e8f3 commit 834b162
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Hasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@

class Hasher implements HasherContract
{
/**
* Get information about the given hashed value.
*
* @param string $hashedValue
* @return array
*/
public function info($hashedValue)
{
return password_get_info($hashedValue);
}

/**
* Hash the given value.
*
Expand Down

0 comments on commit 834b162

Please sign in to comment.