Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Abandoned-Cart-Lite-for-WooCommerce
    • Admin
      • Admin-Action
      • Admin-Notice
      • Component
      • Default-Template
      • List-Class
      • Tracking-Data
      • Welcome-Page
    • Common-Functions
    • Core
    • Cron
    • Encrypt-Decrypt-Data
    • Frontend
      • Capture-Guest-Cart
    • Tracking
    • Uninstaller
  • None

Classes

  • Wcal_Aes
  • Wcal_Aes_Ctr

Class Wcal_Aes_Ctr

This class will encrypt and decrypt the data.

Wcal_Aes
Extended by Wcal_Aes_Ctr
Package: Abandoned-Cart-Lite-for-WooCommerce\Encrypt-Decrypt-Data
Author: Tyche Softwares
Since: 2.8
Located at includes/classes/class-wcal-aes-counter.php

Methods summary

public static encrypted
# encrypt( plaintext $plaintext, password $password, nBits $nBits )

Encrypt a text using AES encryption in Counter mode of operation - see http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf

Encrypt a text using AES encryption in Counter mode of operation - see http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf

Unicode multi-byte character safe

Parameters

$plaintext
text to be encrypted
$password
password to use to generate a key
$nBits
of bits to be used in the key (128, 192, or 256)

Returns

encrypted
text

Since

2.8
public static decrypted
# decrypt( ciphertext $ciphertext, password $password, nBits $nBits )

Decrypt a text encrypted by AES in counter mode of operation

Decrypt a text encrypted by AES in counter mode of operation

Parameters

$ciphertext
text to be decrypted
$password
password to use to generate a key
$nBits
of bits to be used in the key (128, 192, or 256)

Returns

decrypted
text

Since

2.8

Methods inherited from Wcal_Aes

cipher(), keyExpansion()

API documentation generated by ApiGen