Actions

API15

Difference between revisions of "JSimpleCrypt"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JSimpleCrypt}} ===Defined in...)
 
 
Line 21: Line 21:
 
|
 
|
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source>
 
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source>

Latest revision as of 12:40, 25 March 2010

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JSimpleCrypt

Contents

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' );

[Edit See Also] SeeAlso:JSimpleCrypt

Examples

<CodeExamplesForm />