API17

JSimpleCrypt: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
{{Description:JSimpleCrypt}}
===Defined in===
libraries/joomla/utilities/simplecrypt.php
* see source code in [[jplatform:utilities/simplecrypt.php|BitBucket]]
===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
|-
|-
|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.  
|-
|[[JSimpleCrypt::decrypt/11.1|decrypt]]
|
|-
|[[JSimpleCrypt::encrypt/11.1|encrypt]]
|
|-
|-
|}
|}
* '''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 in [[jplatform:utilities/simplecrypt.php|BitBucket]]
* {{JVer|11.1}} '''JSimpleCrypt source code''' on [[jplatform:utilities/simplecrypt.php|BitBucket]]
* [[JSimpleCrypt|Other versions of this class]]
* {{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>
===Examples===
===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 23:08, 27 April 2011

Joomla 11.1 JSimpleCrypt

Description

Template:Description:JSimpleCrypt [Edit Descripton]

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

Template:SeeAlso:JSimpleCrypt [Edit See Also]

User contributed notes

<CodeExamplesForm />