public function make($value, array $options = [])
{
$cost = array_get($options, 'cost', $this->rounds);
// When we originally moved to bcrypt (quite a few years ago),
// we had to migrate everything without waiting for every user to
// change their passwords, hence the md5 still being there.
$hash = password_hash(md5($value), PASSWORD_BCRYPT, ['cost' => $cost]);
// see static::check()
return str_replace('$2y$', '$2a$', $hash);
}