Class JSimplecrypt

Description

JSimpleCrypt is a very simple encryption algorithm for encrypting/decrypting strings

  • deprecated: 12.3 (Platform) & 4.0 (CMS) - Use JCrypt instead.
  • since: 11.1

Located in /libraries/legacy/simplecrypt/simplecrypt.php (line 20)


	
			
Method Summary
 JSimplecrypt __construct ([string $privateKey = null])
 string decrypt (string $s)
 string encrypt (string $s)
Methods
Constructor __construct (line 40)

Object Constructor takes an optional key to be used for encryption/decryption. If no key is given then the secret word from the configuration object is used.

  • deprecated: 12.3 Use JCrypt instead.
  • since: 11.1
  • access: public
JSimplecrypt __construct ([string $privateKey = null])
  • string $privateKey: Optional encryption key
decrypt (line 66)

Decrypt a string

  • deprecated: 12.3 Use JCrypt instead.
  • since: 11.1
  • access: public
string decrypt (string $s)
  • string $s: String to decrypt
encrypt (line 81)

Encrypt a string

  • deprecated: 12.3 Use JCrypt instead.
  • since: 11.1
  • access: public
string encrypt (string $s)
  • string $s: String to encrypt

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