[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Service/ -> Encrypt.php (summary)

(no description)

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

Defines 1 class

Encrypt:: (5 methods):
  __construct()
  encrypt()
  decrypt()
  initialize()
  getPassword()


Class: Encrypt  - X-Ref

Data encryption service.

__construct()   X-Ref
EncryptService constructor.


encrypt(string $data)   X-Ref
Encrypt the plaintext $data and return the ciphertext prefixed by ###AES128###

param: string  $data  The plaintext data
return: string  The ciphertext, prefixed by ###AES128###

decrypt(string $data, bool $legacy = false)   X-Ref
Decrypt the ciphertext, prefixed by ###AES128###, and return the plaintext.

param: string  $data    The ciphertext, prefixed by ###AES128###
param: bool    $legacy  Use legacy key expansion? Use it to decrypt data encrypted with FOF 3.
return: string  The plaintext data

initialize()   X-Ref
Initialize the AES cryptography object

return: void

getPassword()   X-Ref
Returns the password used to encrypt information in the component

return: string



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