| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.982 | case |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 300 | libraries/joomla/user/helper.php |
| 2 | 3 | 310 | libraries/joomla/user/helper.php |
| ||||
case 'sha' :
$encrypted= base64_encode(mhash(MHASH_SHA1, $plaintext));
return ($show_encrypt)
? '{SHA}'
. $encrypted
: $encrypted;
|
| ||||
case 'md5-base64' :
$encrypted= base64_encode(mhash(MHASH_MD5, $plaintext));
return ($show_encrypt)
? '{MD5}'
. $encrypted
: $encrypted;
|
| |||
case [[#variable238cf5a0]]:
$encrypted=base64_encode(mhash( [[#variable238cf540]],$plaintext));
return ($show_encrypt)
? [[#variable238cf4e0]]
. $encrypted
: $encrypted;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#238cf5a0]] | 'md5-base64' |
| 1 | 2 | [[#238cf5a0]] | 'sha' |
| 2 | 1 | [[#238cf540]] | MHASH_MD5 |
| 2 | 2 | [[#238cf540]] | MHASH_SHA1 |
| 3 | 1 | [[#238cf4e0]] | '{MD5}' |
| 3 | 2 | [[#238cf4e0]] | '{SHA}' |