[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/ -> Blowfish.php (summary)

Pure-PHP implementation of Blowfish. Uses mcrypt, if available, and an internal implementation, otherwise.

Author: Jim Wigginton <[email protected]>
Author: Hans-Juergen Petrich <[email protected]>
Copyright: 2007 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
File Size: 556 lines (26 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Blowfish:: (7 methods):
  __construct()
  setKeyLength()
  isValidEngineHelper()
  setupKey()
  encryptBlock()
  decryptBlock()
  setupInlineCrypt()


Class: Blowfish  - X-Ref

Pure-PHP implementation of Blowfish.

__construct($mode)   X-Ref
Default Constructor.

param: string $mode

setKeyLength($length)   X-Ref
Sets the key length.

Key lengths can be between 32 and 448 bits.

param: int $length

isValidEngineHelper($engine)   X-Ref
Test for engine validity

This is mainly just a wrapper to set things up for \phpseclib3\Crypt\Common\SymmetricKey::isValidEngine()

param: int $engine
return: bool

setupKey()   X-Ref
Setup the key (expansion)


encryptBlock($in)   X-Ref
Encrypts a block

param: string $in
return: string

decryptBlock($in)   X-Ref
Decrypts a block

param: string $in
return: string

setupInlineCrypt()   X-Ref
Setup the performance-optimized function for de/encrypt()




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