[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Encrypt/AES/ -> AbstractAES.php (summary)

Joomla! Content Management System

Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 86 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  resizeKey()
  getZeroPadding()

Functions
Functions that are not part of a class:

resizeKey($key, $size)   X-Ref
Trims or zero-pads a key / IV

param: string $key  The key or IV to treat
param: int    $size The block size of the currently used algorithm
return: null|string  Null if $key is null, treated string of $size byte length otherwise

getZeroPadding($string, $blockSize)   X-Ref
Returns null bytes to append to the string so that it's zero padded to the specified block size

param: string $string    The binary string which will be zero padded
param: int    $blockSize The block size
return: string  The zero bytes to append to the string to zero pad it to $blockSize



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer