JSimpleCrypt: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JSimpleCrypt}} | |||
{{Description:JSimpleCrypt}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 25: | Line 22: | ||
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source> | <source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source> | ||
{{subst:SeeAlso:JSimpleCrypt}} | |||
{{SeeAlso:JSimpleCrypt}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:25, 24 March 2017
{{subst:Description:JSimpleCrypt}}
Defined in
libraries/joomla/utilities/simplecrypt.php
Methods
| Method name | Description |
|---|---|
| __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. |
| decrypt | |
| encrypt |
Importing
jimport( 'joomla.utilities.simplecrypt' );
{{subst:SeeAlso:JSimpleCrypt}}
Examples
<CodeExamplesForm />