Class JCryptCipherSimple

Description

Implements interfaces:

JCrypt cipher for Simple encryption, decryption and key generation.

  • since: 12.1

Located in /libraries/joomla/crypt/cipher/simple.php (line 19)


	
			
Method Summary
 string decrypt (string $data, JCryptKey $key)
 string encrypt (string $data, JCryptKey $key)
 JCryptKey generateKey ([array $options = array()])
Methods
decrypt (line 32)

Method to decrypt a data string.

  • return: The decrypted data string.
  • since: 12.1
  • throws: InvalidArgumentException
  • access: public
string decrypt (string $data, JCryptKey $key)
  • string $data: The encrypted string to decrypt.
  • JCryptKey $key: The key[/pair] object to use for decryption.

Implementation of:
JCryptCipher::decrypt()
Method to decrypt a data string.
encrypt (line 73)

Method to encrypt a data string.

  • return: The encrypted data string.
  • since: 12.1
  • throws: InvalidArgumentException
  • access: public
string encrypt (string $data, JCryptKey $key)
  • string $data: The data string to encrypt.
  • JCryptKey $key: The key[/pair] object to use for encryption.

Implementation of:
JCryptCipher::encrypt()
Method to encrypt a data string.
generateKey (line 112)

Method to generate a new encryption key[/pair] object.

  • since: 12.1
  • access: public
JCryptKey generateKey ([array $options = array()])
  • array $options: Key generation options.

Implementation of:
JCryptCipher::generateKey()
Method to generate a new encryption key[/pair] object.

Documentation generated on Tue, 19 Nov 2013 15:13:00 +0100 by phpDocumentor 1.4.3