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>

Revision as of 12:40, 25 March 2010

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JSimpleCrypt

Defined in[edit]

libraries/joomla/utilities/simplecrypt.php

Methods[edit]

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[edit]

jimport( 'joomla.utilities.simplecrypt' );

[Edit See Also] Template:SeeAlso:JSimpleCrypt

Examples[edit]

<CodeExamplesForm />