API17

JSimpleCrypt: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JSimpleCrypt==
<nowiki>[</nowiki>[[Description:JSimpleCrypt|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JSimpleCrypt}}
 
===Defined in===
libraries/joomla/utilities/simplecrypt.php
===Subpackage===
[[Subpackage Utilities/11.1|Utilities]]
===Extends===
[[JObject/11.1|JObject]]
===Extended by===
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
!Visibility
!Method name
!Method name
!Description
!Description
|-
|-
|[[JSimpleCrypt::__construct/11.1|__construct]]
|public
|[[API17:JSimpleCrypt::__construct|__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.  
|-
|-
|[[JSimpleCrypt::_charToInt/11.1|_charToInt]]
|public
|
|[[API17:JSimpleCrypt::decrypt|decrypt]]
|Decrypt.
|-
|-
|[[JSimpleCrypt::_hexToInt/11.1|_hexToInt]]
|public
|
|[[API17:JSimpleCrypt::encrypt|encrypt]]
|Encrypt.
|-
|-
|[[JSimpleCrypt::_hexToIntArray/11.1|_hexToIntArray]]
|protected
|
|[[API17:JSimpleCrypt::_charToInt|_charToInt]]
|CharToInt.
|-
|-
|[[JSimpleCrypt::_intToHex/11.1|_intToHex]]
|protected
|
|[[API17:JSimpleCrypt::_hexToInt|_hexToInt]]
|HextoInt.
|-
|-
|[[JSimpleCrypt::_xorCharString/11.1|_xorCharString]]
|protected
|
|[[API17:JSimpleCrypt::_hexToIntArray|_hexToIntArray]]
|HexToIntArray.
|-
|-
|[[JSimpleCrypt::_xorString/11.1|_xorString]]
|protected
|
|[[API17:JSimpleCrypt::_intToHex|_intToHex]]
|inToHex
|-
|-
|[[JSimpleCrypt::decrypt/11.1|decrypt]]
|protected
|
|[[API17:JSimpleCrypt::_xorCharString|_xorCharString]]
|Decrypt.
|-
|-
|[[JSimpleCrypt::encrypt/11.1|encrypt]]
|protected
|
|[[API17:JSimpleCrypt::_xorString|_xorString]]
|XorString.
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/utilities/simplecrypt.php
* '''Extends''' [[API17:JObject|JObject]]
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source>
<source lang="php">jimport( 'joomla.utilities.simplecrypt' );</source>
===See also===
===See also===
* [[JSimpleCrypt|Other versions of this class]]
* {{JVer|11.1}} '''JSimpleCrypt source code''' on [[jplatform:utilities/simplecrypt.php|BitBucket]]
{{SeeAlso:JSimpleCrypt}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]]
<span class="editsection" style="font-size:76%;">
* [[API17:JSimpleCrypt|Other versions of JSimpleCrypt]]
<nowiki>[</nowiki>[[SeeAlso:JSimpleCrypt|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JSimpleCrypt
category=JSimpleCrypt
category=CodeExample
namespace=CodeExample
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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:42, 25 March 2017

Joomla 11.1 JSimpleCrypt

Description

Methods

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

jimport( 'joomla.utilities.simplecrypt' );

See also


User contributed notes

Code Examples