CloneSet959


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

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


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

                        case 'smd5' :
                                $encrypted=  base64_encode(mhash(MHASH_MD5, $plaintext
                                                                            .          $salt)
                                                           .                                  $salt);
                                return ($show_encrypt)
                                       ?                 '{SMD5}'
                                                         .        $encrypted
                                       :                                       $encrypted;


Clone AbstractionParameter Count: 3Parameter Bindings

case [[#variable456fd8a0]]:
  $encrypted=base64_encode(mhash( [[#variable456fd7e0]],$plaintext
                                                        . $salt)
                           . $salt);
  return ($show_encrypt)
         ? [[#variable456fd780]]
          . $encrypted
         : $encrypted;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#456fd8a0]]
'smd5' 
12[[#456fd8a0]]
'ssha' 
21[[#456fd7e0]]
MHASH_MD5 
22[[#456fd7e0]]
MHASH_SHA1 
31[[#456fd780]]
'{SMD5}' 
32[[#456fd780]]
'{SSHA}'