Base Class for all \phpseclib\Crypt\* cipher classes
PHP version 5
Internally for phpseclib developers: If you plan to add a new cipher class, please note following rules:
The new \phpseclib\Crypt* cipher class should extend \phpseclib\Crypt\Base
Following methods are then required to be overridden/overloaded:
_encryptBlock()
_decryptBlock()
All other methods are optional to be overridden/overloaded
Look at the source code of the current ciphers how they extend \phpseclib\Crypt\Base and take one of them as a start up for the new cipher class.
Base | Base Class for all \phpseclib\Crypt\* cipher classes |