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

It will genrate the encryption and decryption for data.

Direct known subclasses

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.php

Methods summary

public static ciphertext
# cipher( input $input, w $w )

AES Cipher function [5.1]: encrypt 'input' with Rijndael algorithm

AES Cipher function [5.1]: encrypt 'input' with Rijndael algorithm

Parameters

$input
as byte-array (16 bytes)
$w

schedule as 2D byte-array (Nr+1 x Nb bytes) - generated from the cipher key by keyExpansion()

Returns

ciphertext
as byte-array (16 bytes)

Since

2.8
public static key
# keyExpansion( key $key )

Generate Key Schedule from Cipher Key [5.2].

Generate Key Schedule from Cipher Key [5.2].

Perform key expansion on cipher key to generate a key schedule.

Parameters

$key
key byte-array (16 bytes).

Returns

key
schedule as 2D byte-array (Nr+1 x Nb bytes).

Since

2.8
API documentation generated by ApiGen