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 function decipher($ciphertext, $knownWord) { //Write your code here } ..

Decoded Output download

<?php 
function decipher($ciphertext, $knownWord) { 
        //Write your code here 
 
} 
 
$ciphertext = trim(fgets(STDIN)); 
$knownWord = trim(fgets(STDIN)); 
 
$result = decipher($ciphertext, $knownWord); 
echo $result . "
"; 
?> 

Did this file decode correctly?

Original Code

<?php
function decipher($ciphertext, $knownWord) {
        //Write your code here

}

$ciphertext = trim(fgets(STDIN));
$knownWord = trim(fgets(STDIN));

$result = decipher($ciphertext, $knownWord);
echo $result . "\n";
?>

Function Calls

None

Variables

None

Stats

MD5 0d9b33c32a0440207513e8a71ce5bf1e
Eval Count 0
Decode Time 48 ms