getTimestamp(); exit; } if(!empty($_POST["todate"])) { if(is_numeric($_POST["todate"])) { $date = new DateTime("@".$_POST["todate"]); echo $date->format($dateformat); } exit; } if(!empty($_POST["cryptome"])) { //echo "Do it: ".$_POST["hashme"]; while (true) { $filename = "/tmp/".uniqid('cryptoknife', true) . '.txt'; if (!file_exists($filename)) break; } //echo json_encode(array($filename)); exit; if(file_put_contents($filename, $_POST["cryptome"]) < 1) { echo json_encode(array("Error: Empty.")); exit; } //exit; $resultArray = array(); foreach($availableHashes as $hash) { if(!empty($_POST[$hash])){ $resultArray[$hash] = exec('openssl dgst -'.$hash.' '.$filename.' | sed \'s/^.* //\''); } } if(!empty($_POST["base64-encode"])){ $resultArray["base64-encode"] = base64_encode(file_get_contents($filename)); } if(!empty($_POST["base64-decode"])){ try { $resultArray["base64-decode"] = base64_decode(file_get_contents($filename)); filterChars($resultArray["base64-decode"]); } catch(Exception $e) { $resultArray["base64-decode"] = "Could not decode"; } //filter non ascii... } if(!empty($_POST["hex-to-binary"])){ $resultArray["hex-to-binary"] = hex2bin(file_get_contents($filename)); filterChars($resultArray["hex-to-binary"]); } if(!empty($_POST["binary-to-hex"])){ $resultArray["binary-to-hex"] = bin2hex(file_get_contents($filename)); filterChars($resultArray["binary-to-hex"]); } //echo -n 'input' | openssl base64 unlink($filename); echo json_encode($resultArray); exit; } $windowsdownload = "https://github.com/dannagle/Cryptoknife/releases/download/v2.0.1/CryptoknifePortable_v2.0.1.zip"; $windowsversion = "v2.0.1"; $macdownload = "https://github.com/dannagle/Cryptoknife/releases/download/v2.0.1/Cryptoknife_v2.0.2.dmg"; $macversion = "v2.0.2"; require_once "Parsedown.php"; $mailattempt = false; $mailret = false; //echo $_GET["page"];exit; $locationinclude = "pages/about.php"; $location = $locationinclude; if (empty($_GET["page"])) { $locationinclude = "pages/about.php"; } else { $location = "pages/".$_GET["page"].".php"; $locationinclude = $location; } if (file_exists($locationinclude)) { $locationinclude = $location; } else { header("Location: /"); } include_once $locationinclude; $markdown = ""; if ($locationinclude == "pages/documentation.php") { $Parsedown = new Parsedown(); $markdown = $Parsedown->text(file_get_contents("DOCUMENTATION.md")); $markdown = str_ireplace("" . $markdown . ""; } if ($mailattempt || ($locationinclude == "pages/contact.php")) { //$Parsedown = new Parsedown(); //$markdown = $Parsedown->text(file_get_contents("PSREADME.md")); // $markdown = str_ireplace("
Send me your Cryptoknife Gigs, Questions, and Ideas

You may also file tickets at GitHub and tweet at me at NagleCode

HEREDOC; if ($mailattempt && $mailret) { $markdown = "\n\n" . $markdown; } if ($mailattempt) { $markdown = "\n\n" . $markdown; } if (!file_exists("../sendaddress.txt")) { $markdown = "It seems the contact form is broken. Perhaps let somebody know?"; } } ?> Cryptoknife - Contact

Hashing.

  

Encoding.

  

Encryption.

Use the free offline app.

Utilities.

Epoch / Date Conversion

Password Generator

(These are never sent to the server)


Result Log


All-in-one. Portability.

Cryptoknife is an open source all-in-one, portable, collection of general-purpose cryptography tools from the same author of Packet Sender.

Follow @NagleCode

Features


Hashing

  • MD5, MD4, MD2
  • SHA-1, 224, 256, 384, 256
  • CRC-32
  • Checksum

Encoding

  • Base64
  • HEX/Binary
  • DOS/Unix EOL

Encryption

  • AES/Rijndael CBC
  • Blowfish CBC
  • Triple DES CBC
  • Twofish CBC

Uilities

  • System Profile
  • ASCII/HEX
  • Epoch/Date convert
  • Password Generator

Cryptoknife contains no telemetry.

Read the Documentation