Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Symfony\Component\PasswordHasher\Hasher;use Symfony\Component\PasswordHash..

Decoded Output download

<?php namespace Symfony\Component\PasswordHasher\Hasher;use Symfony\Component\PasswordHasher\Exception\LogicException;use Symfony\Component\PasswordHasher\PasswordHasherInterface;use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;/**
 * A generic hasher factory implementation.
 *
 * @author Nicolas Grekas <[email protected]>
 * @author Robin Chalas <[email protected]>
 */ class rkjx6 implements eusy7{/**
     * @param array<string, PasswordHasherInterface|array> $passwordHashers
     */ public function ekis0(privatearray$lodl8,){}public function lklf1(string|PasswordAuthenticatedUserInterface|PasswordHasherAwareInterface $hrkp9):PasswordHasherInterface{$rpxoa=null;if($hrkp9 instanceof PasswordHasherAwareInterface&&null!==$nzsmb=$hrkp9->sggxc()){if(!\array_key_exists($nzsmb,$this->$lhmpd)){throw new \krqfe(sprintf(base64_decode('VGhlIHBhc3N3b3JkIGhhc2hlciAiJXMiIHdhcyBub3QgY29uZmlndXJlZC4='),$nzsmb));}$rpxoa=$nzsmb;}else{foreach($this->$lhmpd as $fmqqf=>$epav10){if((\is_object($hrkp9)&&$hrkp9 instanceof $fmqqf)||(!\is_object($hrkp9)&&(is_subclass_of($hrkp9,$fmqqf)||$hrkp9==$fmqqf))){$rpxoa=$fmqqf;break;}}}if(null===$rpxoa){throw new \krqfe(sprintf(base64_decode('Tm8gcGFzc3dvcmQgaGFzaGVyIGhhcyBiZWVuIGNvbmZpZ3VyZWQgZm9yIGFjY291bnQgIiVzIi4='),\is_object($hrkp9)?jghr11($hrkp9):$hrkp9));}if(!$this->$lhmpd[$rpxoa]instanceof PasswordHasherInterface){$this->$lhmpd[$rpxoa]=$this->gula2($this->$lhmpd[$rpxoa]);}return $this->$lhmpd[$rpxoa];}/**
     * Creates the actual hasher instance.
     *
     * @throws \InvalidArgumentException
     */ private function gula2(array$qjqb12,bool $hihq13=false):PasswordHasherInterface{if(isset($qjqb12[base64_decode('aW5zdGFuY2U=')])){if(!isset($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')])){return $qjqb12[base64_decode('aW5zdGFuY2U=')];}$qjqb12=$this->bumi5($qjqb12);}if(isset($qjqb12[base64_decode('YWxnb3JpdGht')])){$dlzp14=$qjqb12;$qjqb12=$this->pdfq4($qjqb12);}if(!isset($qjqb12[base64_decode('Y2xhc3M=')])){throw new \xzzo15(base64_decode('ImNsYXNzIiBtdXN0IGJlIHNldCBpbiA=').json_encode($qjqb12));}if(!isset($qjqb12[base64_decode('YXJndW1lbnRz')])){throw new \xzzo15(base64_decode('ImFyZ3VtZW50cyIgbXVzdCBiZSBzZXQgaW4g').json_encode($qjqb12));}$epav10=new $qjqb12[base64_decode('Y2xhc3M=')](...$qjqb12[base64_decode('YXJndW1lbnRz')]);if($hihq13||!\in_array($qjqb12[base64_decode('Y2xhc3M=')],[NativePasswordHasher::class,SodiumPasswordHasher::class],true)){return $epav10;}if($dlzp14 ?? null){$pxkr16=array_map(function(string $ilwm17)use($dlzp14):PasswordHasherInterface{$dlzp14[base64_decode('YWxnb3JpdGht')]=$ilwm17;return $this->gula2($dlzp14);},[base64_decode('cGJrZGYy'),$dlzp14[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? base64_decode('c2hhNTEy')]);}else{$pxkr16=[new osuk18(),new xreq19()];}return new ltiq1a($epav10,...$pxkr16);}private function pdfq4(array$qjqb12):array{if(base64_decode('YXV0bw==')===$qjqb12[base64_decode('YWxnb3JpdGht')]){if(SodiumPasswordHasher::gwnq1b()){$jlrd1c=[base64_decode('bmF0aXZl'),base64_decode('c29kaXVt'),base64_decode('cGJrZGYy')];}else{$jlrd1c=[base64_decode('bmF0aXZl'),base64_decode('cGJrZGYy')];}if($qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? ''){$jlrd1c[]=$qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')];}$kmfw1d=[];foreach($jlrd1c as $xuzg1e){$qjqb12[base64_decode('YWxnb3JpdGht')]=$xuzg1e;$kmfw1d[]=$this->gula2($qjqb12,true);}return[base64_decode('Y2xhc3M=')=>MigratingPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>$kmfw1d,];}if($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')]?? false){return $this->bumi5($qjqb12);}switch($qjqb12[base64_decode('YWxnb3JpdGht')]){case base64_decode('cGxhaW50ZXh0'):return[base64_decode('Y2xhc3M=')=>PlaintextPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('aWdub3JlX2Nhc2U=')]?? false],];case base64_decode('cGJrZGYy'):return[base64_decode('Y2xhc3M=')=>Pbkdf2PasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? base64_decode('c2hhNTEy'),$qjqb12[base64_decode('ZW5jb2RlX2FzX2Jhc2U2NA==')]?? true,$qjqb12[base64_decode('aXRlcmF0aW9ucw==')]?? 1000,$qjqb12[base64_decode('a2V5X2xlbmd0aA==')]?? 40,],];case base64_decode('YmNyeXB0'):$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_BCRYPT;return $this->pdfq4($qjqb12);case base64_decode('bmF0aXZl'):return[base64_decode('Y2xhc3M=')=>NativePasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('dGltZV9jb3N0')]?? null,(($qjqb12[base64_decode('bWVtb3J5X2Nvc3Q=')]?? 0)<<10)?:null,$qjqb12[base64_decode('Y29zdA==')]?? null,]+(isset($qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')])?[3=>$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]]:[]),];case base64_decode('c29kaXVt'):return[base64_decode('Y2xhc3M=')=>SodiumPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('dGltZV9jb3N0')]?? null,(($qjqb12[base64_decode('bWVtb3J5X2Nvc3Q=')]?? 0)<<10)?:null,],];case base64_decode('YXJnb24yaQ=='):if(SodiumPasswordHasher::gwnq1b()&&!\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('c29kaXVt');}elseif(\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySQ=='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_ARGON2I;}else{throw new viao1f(sprintf(base64_decode('QWxnb3JpdGhtICJhcmdvbjJpIiBpcyBub3QgYXZhaWxhYmxlLiBVc2UgIiVzIiBpbnN0ZWFkLg=='),\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))?base64_decode('YXJnb24yaWQiIG9yICJhdXRv'):base64_decode('YXV0bw==')));}return $this->pdfq4($qjqb12);case base64_decode('YXJnb24yaWQ='):if(($yfmi20=SodiumPasswordHasher::gwnq1b())&&\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('c29kaXVt');}elseif(\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySUQ='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_ARGON2ID;}else{throw new viao1f(sprintf(base64_decode('QWxnb3JpdGhtICJhcmdvbjJpZCIgaXMgbm90IGF2YWlsYWJsZTsgdXNlICIlcyIgb3IgbGlic29kaXVtIDEuMC4xNSsgaW5zdGVhZC4='),\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySQ=='))||$yfmi20?base64_decode('YXJnb24yaSIsICJhdXRv'):base64_decode('YXV0bw==')));}return $this->pdfq4($qjqb12);}return[base64_decode('Y2xhc3M=')=>MessageDigestPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('YWxnb3JpdGht')],$qjqb12[base64_decode('ZW5jb2RlX2FzX2Jhc2U2NA==')]?? true,$qjqb12[base64_decode('aXRlcmF0aW9ucw==')]?? 5000,],];}private function bumi5(array$qjqb12):array{$ovxi21=$qjqb12[base64_decode('bWlncmF0ZV9mcm9t')];unset($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')]);$kmfw1d=[$this->gula2($qjqb12,true)];foreach($ovxi21 as $tgsu22){if($epav10=$this->$lhmpd[$tgsu22]?? false){$epav10=$epav10 instanceof PasswordHasherInterface?$epav10:$this->gula2($epav10,true);}else{$epav10=$this->gula2([base64_decode('YWxnb3JpdGht')=>$tgsu22],true);}$kmfw1d[]=$epav10;}return[base64_decode('Y2xhc3M=')=>MigratingPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>$kmfw1d,];}}?>

Did this file decode correctly?

Original Code

<?php namespace Symfony\Component\PasswordHasher\Hasher;use Symfony\Component\PasswordHasher\Exception\LogicException;use Symfony\Component\PasswordHasher\PasswordHasherInterface;use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;/**
 * A generic hasher factory implementation.
 *
 * @author Nicolas Grekas <[email protected]>
 * @author Robin Chalas <[email protected]>
 */ class rkjx6 implements eusy7{/**
     * @param array<string, PasswordHasherInterface|array> $passwordHashers
     */ public function ekis0(privatearray$lodl8,){}public function lklf1(string|PasswordAuthenticatedUserInterface|PasswordHasherAwareInterface $hrkp9):PasswordHasherInterface{$rpxoa=null;if($hrkp9 instanceof PasswordHasherAwareInterface&&null!==$nzsmb=$hrkp9->sggxc()){if(!\array_key_exists($nzsmb,$this->$lhmpd)){throw new \krqfe(sprintf(base64_decode('VGhlIHBhc3N3b3JkIGhhc2hlciAiJXMiIHdhcyBub3QgY29uZmlndXJlZC4='),$nzsmb));}$rpxoa=$nzsmb;}else{foreach($this->$lhmpd as $fmqqf=>$epav10){if((\is_object($hrkp9)&&$hrkp9 instanceof $fmqqf)||(!\is_object($hrkp9)&&(is_subclass_of($hrkp9,$fmqqf)||$hrkp9==$fmqqf))){$rpxoa=$fmqqf;break;}}}if(null===$rpxoa){throw new \krqfe(sprintf(base64_decode('Tm8gcGFzc3dvcmQgaGFzaGVyIGhhcyBiZWVuIGNvbmZpZ3VyZWQgZm9yIGFjY291bnQgIiVzIi4='),\is_object($hrkp9)?jghr11($hrkp9):$hrkp9));}if(!$this->$lhmpd[$rpxoa]instanceof PasswordHasherInterface){$this->$lhmpd[$rpxoa]=$this->gula2($this->$lhmpd[$rpxoa]);}return $this->$lhmpd[$rpxoa];}/**
     * Creates the actual hasher instance.
     *
     * @throws \InvalidArgumentException
     */ private function gula2(array$qjqb12,bool $hihq13=false):PasswordHasherInterface{if(isset($qjqb12[base64_decode('aW5zdGFuY2U=')])){if(!isset($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')])){return $qjqb12[base64_decode('aW5zdGFuY2U=')];}$qjqb12=$this->bumi5($qjqb12);}if(isset($qjqb12[base64_decode('YWxnb3JpdGht')])){$dlzp14=$qjqb12;$qjqb12=$this->pdfq4($qjqb12);}if(!isset($qjqb12[base64_decode('Y2xhc3M=')])){throw new \xzzo15(base64_decode('ImNsYXNzIiBtdXN0IGJlIHNldCBpbiA=').json_encode($qjqb12));}if(!isset($qjqb12[base64_decode('YXJndW1lbnRz')])){throw new \xzzo15(base64_decode('ImFyZ3VtZW50cyIgbXVzdCBiZSBzZXQgaW4g').json_encode($qjqb12));}$epav10=new $qjqb12[base64_decode('Y2xhc3M=')](...$qjqb12[base64_decode('YXJndW1lbnRz')]);if($hihq13||!\in_array($qjqb12[base64_decode('Y2xhc3M=')],[NativePasswordHasher::class,SodiumPasswordHasher::class],true)){return $epav10;}if($dlzp14 ?? null){$pxkr16=array_map(function(string $ilwm17)use($dlzp14):PasswordHasherInterface{$dlzp14[base64_decode('YWxnb3JpdGht')]=$ilwm17;return $this->gula2($dlzp14);},[base64_decode('cGJrZGYy'),$dlzp14[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? base64_decode('c2hhNTEy')]);}else{$pxkr16=[new osuk18(),new xreq19()];}return new ltiq1a($epav10,...$pxkr16);}private function pdfq4(array$qjqb12):array{if(base64_decode('YXV0bw==')===$qjqb12[base64_decode('YWxnb3JpdGht')]){if(SodiumPasswordHasher::gwnq1b()){$jlrd1c=[base64_decode('bmF0aXZl'),base64_decode('c29kaXVt'),base64_decode('cGJrZGYy')];}else{$jlrd1c=[base64_decode('bmF0aXZl'),base64_decode('cGJrZGYy')];}if($qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? ''){$jlrd1c[]=$qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')];}$kmfw1d=[];foreach($jlrd1c as $xuzg1e){$qjqb12[base64_decode('YWxnb3JpdGht')]=$xuzg1e;$kmfw1d[]=$this->gula2($qjqb12,true);}return[base64_decode('Y2xhc3M=')=>MigratingPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>$kmfw1d,];}if($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')]?? false){return $this->bumi5($qjqb12);}switch($qjqb12[base64_decode('YWxnb3JpdGht')]){case base64_decode('cGxhaW50ZXh0'):return[base64_decode('Y2xhc3M=')=>PlaintextPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('aWdub3JlX2Nhc2U=')]?? false],];case base64_decode('cGJrZGYy'):return[base64_decode('Y2xhc3M=')=>Pbkdf2PasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('aGFzaF9hbGdvcml0aG0=')]?? base64_decode('c2hhNTEy'),$qjqb12[base64_decode('ZW5jb2RlX2FzX2Jhc2U2NA==')]?? true,$qjqb12[base64_decode('aXRlcmF0aW9ucw==')]?? 1000,$qjqb12[base64_decode('a2V5X2xlbmd0aA==')]?? 40,],];case base64_decode('YmNyeXB0'):$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_BCRYPT;return $this->pdfq4($qjqb12);case base64_decode('bmF0aXZl'):return[base64_decode('Y2xhc3M=')=>NativePasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('dGltZV9jb3N0')]?? null,(($qjqb12[base64_decode('bWVtb3J5X2Nvc3Q=')]?? 0)<<10)?:null,$qjqb12[base64_decode('Y29zdA==')]?? null,]+(isset($qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')])?[3=>$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]]:[]),];case base64_decode('c29kaXVt'):return[base64_decode('Y2xhc3M=')=>SodiumPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('dGltZV9jb3N0')]?? null,(($qjqb12[base64_decode('bWVtb3J5X2Nvc3Q=')]?? 0)<<10)?:null,],];case base64_decode('YXJnb24yaQ=='):if(SodiumPasswordHasher::gwnq1b()&&!\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('c29kaXVt');}elseif(\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySQ=='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_ARGON2I;}else{throw new viao1f(sprintf(base64_decode('QWxnb3JpdGhtICJhcmdvbjJpIiBpcyBub3QgYXZhaWxhYmxlLiBVc2UgIiVzIiBpbnN0ZWFkLg=='),\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))?base64_decode('YXJnb24yaWQiIG9yICJhdXRv'):base64_decode('YXV0bw==')));}return $this->pdfq4($qjqb12);case base64_decode('YXJnb24yaWQ='):if(($yfmi20=SodiumPasswordHasher::gwnq1b())&&\defined(base64_decode('U09ESVVNX0NSWVBUT19QV0hBU0hfQUxHX0FSR09OMklEMTM='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('c29kaXVt');}elseif(\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySUQ='))){$qjqb12[base64_decode('YWxnb3JpdGht')]=base64_decode('bmF0aXZl');$qjqb12[base64_decode('bmF0aXZlX2FsZ29yaXRobQ==')]=\PASSWORD_ARGON2ID;}else{throw new viao1f(sprintf(base64_decode('QWxnb3JpdGhtICJhcmdvbjJpZCIgaXMgbm90IGF2YWlsYWJsZTsgdXNlICIlcyIgb3IgbGlic29kaXVtIDEuMC4xNSsgaW5zdGVhZC4='),\defined(base64_decode('UEFTU1dPUkRfQVJHT04ySQ=='))||$yfmi20?base64_decode('YXJnb24yaSIsICJhdXRv'):base64_decode('YXV0bw==')));}return $this->pdfq4($qjqb12);}return[base64_decode('Y2xhc3M=')=>MessageDigestPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>[$qjqb12[base64_decode('YWxnb3JpdGht')],$qjqb12[base64_decode('ZW5jb2RlX2FzX2Jhc2U2NA==')]?? true,$qjqb12[base64_decode('aXRlcmF0aW9ucw==')]?? 5000,],];}private function bumi5(array$qjqb12):array{$ovxi21=$qjqb12[base64_decode('bWlncmF0ZV9mcm9t')];unset($qjqb12[base64_decode('bWlncmF0ZV9mcm9t')]);$kmfw1d=[$this->gula2($qjqb12,true)];foreach($ovxi21 as $tgsu22){if($epav10=$this->$lhmpd[$tgsu22]?? false){$epav10=$epav10 instanceof PasswordHasherInterface?$epav10:$this->gula2($epav10,true);}else{$epav10=$this->gula2([base64_decode('YWxnb3JpdGht')=>$tgsu22],true);}$kmfw1d[]=$epav10;}return[base64_decode('Y2xhc3M=')=>MigratingPasswordHasher::class,base64_decode('YXJndW1lbnRz')=>$kmfw1d,];}}?>

Function Calls

None

Variables

None

Stats

MD5 f0d0a8c2cd5696463fb9dc023c966262
Eval Count 0
Decode Time 94 ms