Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
ManaPHP
Security
SecintInterface
PHP Interface ManaPHP\Security\SecintInterface
Exibir arquivo
Open project: manaphp/manaphp
Public Methods
Method
Description
decode
(
string
$hash
,
string
$type
= '' ) :
integer
| false
Decodes a hash to the original parameter values.
encode
(
integer
$id
,
string
$type
= '' ) :
string
Encodes a variable number of parameters to generate a hash.
Method Details
decode()
public
method
Decodes a hash to the original parameter values.
public
decode
(
string
$hash
,
string
$type
= '' ) :
integer
| false
$hash
string
the hash to decode
$type
string
return
integer
| false
encode()
public
method
Encodes a variable number of parameters to generate a hash.
public
encode
(
integer
$id
,
string
$type
= '' ) :
string
$id
integer
$type
string
return
string
the generated hash