Actions

API17

Difference between revisions of "JSimpleCrypt"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: bad link repair)
(2 intermediate revisions by one user not shown)
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
 
===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|Other versions of this class]]
+
* {{JVer|11.1}} '''JSimpleCrypt source code''' on [[jplatform:utilities/simplecrypt.php|BitBucket]]
 +
* {{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 61: 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 JClasses]][[Category:Platform 11.1]][[Category:JSimpleCrypt]]</noinclude>

Revision as of 14:03, 29 August 2012

Replacement filing cabinet.png
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.

Joomla 11.1 JSimpleCrypt

Description

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

SeeAlso:JSimpleCrypt [Edit See Also]

User contributed notes

<CodeExamplesForm />