PHP Class PayPal\Security\Cipher

Helper class to encrypt/decrypt data with secret key
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public __construct ( $secretKey )

decrypt() public méthode

Decrypts the input text from the cipher key
public decrypt ( $input ) : string
$input
Résultat string

encrypt() public méthode

Encrypts the input text using the cipher key
public encrypt ( $input ) : string
$input
Résultat string