Skip to content

Security

{@inheritDoc}


  • Full name: \PhalconKit\Encryption\Security
  • Parent class: Security

Methods

__construct

public __construct(?\Phalcon\Session\ManagerInterface $session = null, ?\Phalcon\Http\RequestInterface $request = null): mixed

Parameters:

Parameter Type Description
$session ?\Phalcon\Session\ManagerInterface
$request ?\Phalcon\Http\RequestInterface

getConfig

public getConfig(): \PhalconKit\Config\ConfigInterface

hash

public hash(string $password, array $options = []): string

Parameters:

Parameter Type Description
$password string
$options array

getRandom

public getRandom(): \PhalconKit\Encryption\Security\Random