Difference between revisions of "JSimpleCrypt"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JSimpleCrypt== | ||
+ | ===Description=== | ||
+ | {{Description:JSimpleCrypt}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JSimpleCrypt|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSimpleCrypt|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JSimpleCrypt::__construct/11.1|__construct]] | |[[JSimpleCrypt::__construct/11.1|__construct]] | ||
|Object Constructor takes an optional key to be used for encryption/decryption. | |Object Constructor takes an optional key to be used for encryption/decryption. | ||
|- | |- | ||
+ | |public | ||
+ | |[[JSimpleCrypt::decrypt/11.1|decrypt]] | ||
+ | |Decrypt. | ||
+ | |- | ||
+ | |public | ||
+ | |[[JSimpleCrypt::encrypt/11.1|encrypt]] | ||
+ | |Encrypt. | ||
+ | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_charToInt/11.1|_charToInt]] | |[[JSimpleCrypt::_charToInt/11.1|_charToInt]] | ||
− | | | + | |CharToInt. |
|- | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_hexToInt/11.1|_hexToInt]] | |[[JSimpleCrypt::_hexToInt/11.1|_hexToInt]] | ||
− | | | + | |HextoInt. |
|- | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_hexToIntArray/11.1|_hexToIntArray]] | |[[JSimpleCrypt::_hexToIntArray/11.1|_hexToIntArray]] | ||
− | | | + | |HexToIntArray. |
|- | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_intToHex/11.1|_intToHex]] | |[[JSimpleCrypt::_intToHex/11.1|_intToHex]] | ||
− | | | + | |inToHex |
|- | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_xorCharString/11.1|_xorCharString]] | |[[JSimpleCrypt::_xorCharString/11.1|_xorCharString]] | ||
− | | | + | |Decrypt. |
|- | |- | ||
+ | |protected | ||
|[[JSimpleCrypt::_xorString/11.1|_xorString]] | |[[JSimpleCrypt::_xorString/11.1|_xorString]] | ||
− | | | + | |XorString. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/utilities/simplecrypt.php | ||
+ | * '''Extends''' [[JObject/11.1|JObject]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source> | <source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source> | ||
===See also=== | ===See also=== | ||
− | * JSimpleCrypt source code | + | * {{JVer|11.1}} '''JSimpleCrypt source code''' on [[jplatform:utilities/simplecrypt.php|BitBucket]] |
− | * [[JSimpleCrypt|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Utilities/11.1|Utilities]] |
+ | * [[JSimpleCrypt|Other versions of JSimpleCrypt]] | ||
{{SeeAlso:JSimpleCrypt}} | {{SeeAlso:JSimpleCrypt}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSimpleCrypt|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSimpleCrypt|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 70: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JSimpleCrypt]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JSimpleCrypt]]</noinclude> |
Revision as of 18:08, 27 April 2011
The "API17" 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.
JSimpleCrypt[edit]
Description[edit]
Template:Description:JSimpleCrypt [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Object Constructor takes an optional key to be used for encryption/decryption. |
public | decrypt | Decrypt. |
public | encrypt | Encrypt. |
protected | _charToInt | CharToInt. |
protected | _hexToInt | HextoInt. |
protected | _hexToIntArray | HexToIntArray. |
protected | _intToHex | inToHex |
protected | _xorCharString | Decrypt. |
protected | _xorString | XorString. |
- Defined in libraries/joomla/utilities/simplecrypt.php
- Extends JObject
Importing[edit]
jimport( 'joomla.utilities.simplecrypt' );
See also[edit]
- JSimpleCrypt source code on BitBucket
- Subpackage Utilities
- Other versions of JSimpleCrypt
Template:SeeAlso:JSimpleCrypt [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />