CloneSet1069


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.982case
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13300
libraries/joomla/user/helper.php
23310
libraries/joomla/user/helper.php
Clone Instance
1
Line Count
3
Source Line
300
Source File
libraries/joomla/user/helper.php

                        case 'sha' :
                                $encrypted=  base64_encode(mhash(MHASH_SHA1, $plaintext));
                                return ($show_encrypt)
                                       ?                 '{SHA}'
                                                         .       $encrypted
                                       :                                      $encrypted;


Clone Instance
2
Line Count
3
Source Line
310
Source File
libraries/joomla/user/helper.php

                        case 'md5-base64' :
                                $encrypted=  base64_encode(mhash(MHASH_MD5, $plaintext));
                                return ($show_encrypt)
                                       ?                 '{MD5}'
                                                         .       $encrypted
                                       :                                      $encrypted;


Clone AbstractionParameter Count: 3Parameter Bindings

case [[#variable238cf5a0]]:
  $encrypted=base64_encode(mhash( [[#variable238cf540]],$plaintext));
  return ($show_encrypt)
         ? [[#variable238cf4e0]]
          . $encrypted
         : $encrypted;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#238cf5a0]]
'md5-base64' 
12[[#238cf5a0]]
'sha' 
21[[#238cf540]]
MHASH_MD5 
22[[#238cf540]]
MHASH_SHA1 
31[[#238cf4e0]]
'{MD5}' 
32[[#238cf4e0]]
'{SHA}'