Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PayPal
Security
Cipher
PHP Class PayPal\Security\Cipher
Helper class to encrypt/decrypt data with secret key
Show file
Open project: paypal/rest-api-sdk-php
Class Usage Examples
Public Methods
Method
Description
__construct
(
$secretKey
)
decrypt
(
$input
) :
string
Decrypts the input text from the cipher key
encrypt
(
$input
) :
string
Encrypts the input text using the cipher key
Method Details
__construct()
public
method
public
__construct
(
$secretKey
)
decrypt()
public
method
Decrypts the input text from the cipher key
public
decrypt
(
$input
) :
string
$input
return
string
encrypt()
public
method
Encrypts the input text using the cipher key
public
encrypt
(
$input
) :
string
$input
return
string