Facebook
From Anna Dostoevskaya, 1 Year ago, written in PHP.
Embed
Download Paste or View Raw
Hits: 90
  1. <?php
  2.  
  3. $err = KalkanCrypt_Init();
  4. // Error handling code will be skipped here and below.
  5.  
  6. $outVerifyInfo = "";
  7. $inData = file_get_contents("signed.xml"); // Guaranteed correctly signed data (tested on another machine)
  8.  
  9. $err = KalkanCrypt_VerifyXML("", 0, $inData, $outVerifyInfo);
  10.  
  11.