JSimplecrypt
JSimpleCrypt is a very simple encryption algorithm for encrypting/decrypting strings
deprecated
since |
1.5 |
---|---|
deprecated |
2.5.5 Use JCrypt instead. |
package |
Joomla.Legacy |
Methods
__construct
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.
__construct(string $privateKey = null)
deprecated
since |
1.5 |
---|---|
deprecated |
2.5.5 Use JCrypt instead. |
Arguments
- $privateKey
string
Optional encryption key
decrypt
Decrypt a string
decrypt(string $s) : string
deprecated
since |
1.5 |
---|---|
deprecated |
2.5.5 Use JCrypt instead. |
Arguments
- $s
string
String to decrypt
Response
string
encrypt
Encrypt a string
encrypt(string $s) : string
deprecated
since |
1.5 |
---|---|
deprecated |
2.5.5 Use JCrypt instead. |
Arguments
- $s
string
String to encrypt
Response
string
Properties
_crypt
Encryption/Decryption Key
deprecated
since |
3.0 |
---|---|
deprecated |
3.0 Use JCrypt instead. |
Type(s)
\JCrypt