API15:JSimpleCrypt/encrypt
From Joomla! Documentation
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.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Contents |
Syntax
encrypt($s)
| Parameter Name | Default Value | Description |
|---|---|---|
| $s |
Defined in
libraries/joomla/utilities/simplecrypt.php
Importing
jimport( 'joomla.utilities.simplecrypt' );
Source Body
function encrypt($s) { $ai = $this->_xorCharString($s); $s1 = ""; for ($i = 0; $i < count($ai); $i++) $s1 = $s1 . $this->_intToHex((int) $ai[$i]); return $s1; }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
