PHP Класс PayPal\Security\Cipher

Helper class to encrypt/decrypt data with secret key
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $secretKey )
decrypt ( $input ) : string Decrypts the input text from the cipher key
encrypt ( $input ) : string Encrypts the input text using the cipher key

Описание методов

__construct() публичный Метод

public __construct ( $secretKey )

decrypt() публичный Метод

Decrypts the input text from the cipher key
public decrypt ( $input ) : string
$input
Результат string

encrypt() публичный Метод

Encrypts the input text using the cipher key
public encrypt ( $input ) : string
$input
Результат string