RC4Crypt
[ class tree: RC4Crypt ] [ index: RC4Crypt ] [ all elements ]

Class: rc4crypt

Source Location: /includes/classes/encryption/rc4crypt.class.php

Class Overview


RC4 Class


Methods



Class Details

[line 27]
RC4 Class



[ Top ]


Class Methods


method decrypt [line 82]

string decrypt( string $pwd, string $data, [bool $ispwdHex = 0])

Decryption, recall encryption



Tags:

access:  public


Parameters:

string   $pwd   Key to decrypt with (can be binary of hex)
string   $data   Content to be decrypted
bool   $ispwdHex   Key passed is in hexadecimal or not

[ Top ]

method encrypt [line 37]

string encrypt( string $pwd, string $data, [bool $ispwdHex = 0])

The symmetric encryption function



Tags:

access:  public


Parameters:

string   $pwd   Key to encrypt with (can be binary of hex)
string   $data   Content to be encrypted
bool   $ispwdHex   Key passed is in hexadecimal or not

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:56:36 +0200 by phpDocumentor 1.4.1