ClassInterface JCryptCipher

Description

JCrypt cipher interface.

  • since: 12.1

Located in /libraries/joomla/crypt/cipher.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 31)

Method to decrypt a data string.

  • return: The decrypted data string.
  • since: 12.1
  • 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.
encrypt (line 43)

Method to encrypt a data string.

  • return: The encrypted data string.
  • since: 12.1
  • 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.
generateKey (line 54)

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

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

Documentation generated on Tue, 19 Nov 2013 14:55:44 +0100 by phpDocumentor 1.4.3