AbstractAES
Abstract AES encryption class
abstract
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
getZeroPadding
Returns null bytes to append to the string so that it's zero padded to the specified block size
getZeroPadding( string, blockSize) :
Arguments
- string
string
The binary string which will be zero padded- blockSize
int
The block size
Response
string
The zero bytes to append to the string to zero pad it to $blockSize
resizeKey
Trims or zero-pads a key / IV
resizeKey( key, size) : null|string
Arguments
- key
string
The key or IV to treat- size
int
The block size of the currently used algorithm
Response
null|string
Null if $key is null, treated string of $size byte length otherwise