Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • Cipher

Class Cipher

Class Cipher

Helper class to encrypt/decrypt data with secret key

Namespace: PayPal\Security
Package: PayPal\Security
Located at PayPal/Security/Cipher.php

Methods summary

public
# __construct( $secretKey )
public string
# encrypt( $input )

Encrypts the input text using the cipher key

Encrypts the input text using the cipher key

Parameters

$input

Returns

string
public string
# decrypt( $input )

Decrypts the input text from the cipher key

Decrypts the input text from the cipher key

Parameters

$input

Returns

string

Constants summary

integer IV_SIZE

Fixed IV Size

Fixed IV Size

# 16
API documentation generated by ApiGen