sha1

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Calculate the sha1 hash of a string
sha1(string $stringbool $binary false): string
            Carbon::now()->addMinutes(Config::get('auth.verification.expire'60)),

            [

                
'id' => $notifiable->getKey(),

                
'hash' => sha1($notifiable->getEmailForVerification()),

            ]

        );

    }
    public function getName()

    {

        return 
'login_'.$this->name.'_'.sha1(static::class);

    }
    public function getRecallerName()

    {

        return 
'remember_'.$this->name.'_'.sha1(static::class);

    }
    protected function path($key)

    {

        
$parts array_slice(str_split($hash sha1($key), 2), 02);



        return 
$this->directory.'/'.implode('/'$parts).'/'.$hash;

    }
    protected function pushKeys($namespace$key$reference)

    {

        
$fullKey $this->store->getPrefix().sha1($namespace).':'.$key;



        foreach (
explode('|'$namespace) as $segment) {

            
$this->store->connection()->sadd($this->referenceKey($segment$reference), $fullKey);
    public function taggedItemKey($key)

    {

        return 
sha1($this->tags->getNamespace()).':'.$key;

    }
    public function mutexName()

    {

        return 
'framework/schedule-'.sha1($this->description);

    }
    protected function ensureOutputIsBeingCaptured()

    {

        if (
is_null($this->output) || $this->output == $this->getDefaultOutput()) {

            
$this->sendOutputTo(storage_path('logs/schedule-'.sha1($this->mutexName()).'.log'));

        }

    }
    public function mutexName()

    {

        return 
'framework'.DIRECTORY_SEPARATOR.'schedule-'.sha1($this->expression.$this->command);

    }
    protected function ensureFacadeExists($alias)

    {

        if (
is_file($path storage_path('framework/cache/facade-'.sha1($alias).'.php'))) {

            return 
$path;

        }
        }



        if (! 
hash_equals((string) $this->route('hash'),

                          
sha1($this->user()->getEmailForVerification()))) {

            return 
false;

        }
            throw new RuntimeException('Unable to generate fingerprint. Route unavailable.');

        }



        return 
sha1(implode('|'array_merge(

            
$route->methods(),

            [
$route->getDomain(), $route->uri(), $this->ip()]

        )));

    }
    protected function resolveRequestSignature($request)

    {

        if (
$user $request->user()) {

            return 
sha1($user->getAuthIdentifier());

        } elseif (
$route $request->route()) {

            return 
sha1($route->getDomain().'|'.$request->ip());

        }
        if ($user $request->user()) {

            return 
sha1($user->getAuthIdentifier());

        } elseif (
$route $request->route()) {

            return 
sha1($route->getDomain().'|'.$request->ip());

        }



        throw new 
RuntimeException('Unable to generate the request signature. Route unavailable.');
    protected function getHash($value)

    {

        
$hash strtoupper(sha1((string) $value));



        
$hashPrefix substr($hash05);