Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
ManaPHP
Security
CryptInterface
PHP Interface ManaPHP\Security\CryptInterface
Mostrar archivo
Open project: manaphp/manaphp
Public Methods
Method
Description
decrypt
(
string
$text
,
string
$key
= null ) :
string
Decrypts a text
encrypt
(
string
$text
,
string
$key
= null ) :
string
Encrypts a text
Method Details
decrypt()
public
method
Decrypts a text
public
decrypt
(
string
$text
,
string
$key
= null ) :
string
$text
string
$key
string
return
string
encrypt()
public
method
Encrypts a text
public
encrypt
(
string
$text
,
string
$key
= null ) :
string
$text
string
$key
string
return
string