[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/crypt/src/ -> CipherInterface.php (summary)

Part of the Joomla Framework Crypt Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 75 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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


Interface: CipherInterface  - X-Ref

Joomla Framework Cipher interface.

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[/pair] 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[/pair] object to use for encryption.
return: string  The encrypted data string.

generateKey(array $options = [])   X-Ref
Method to generate a new encryption key[/pair] 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