[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Crypt/Cipher/ -> CryptoCipher.php (summary)

Joomla! Content Management System

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

Defines 1 class

CryptoCipher:: (4 methods):
  decrypt()
  encrypt()
  generateKey()
  isSupported()


Class: CryptoCipher  - X-Ref

Crypt cipher for encryption, decryption and key generation via the php-encryption library.

decrypt($data, Key $key)   X-Ref
Method to decrypt a data string.

param: string  $data  The encrypted string to decrypt.
param: Key     $key   The key object to use for decryption.
return: string  The decrypted data string.

encrypt($data, Key $key)   X-Ref
Method to encrypt a data string.

param: string  $data  The data string to encrypt.
param: Key     $key   The key object to use for encryption.
return: string  The encrypted data string.

generateKey(array $options = array()   X-Ref
Method to generate a new encryption key object.

param: array  $options  Key generation options.
return: Key

isSupported()   X-Ref
Check if the cipher is supported in this environment.

return: boolean



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