File: example.php

Recommend this page to a friend!
  Classes of Romeu Gamelas  >  SRCrypt  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: SRCrypt
Encrypt and decrypt data using a secret key
Author: By
Last change:
Date: 12 years ago
Size: 457 bytes



Class file image Download
$cr = new SRCrypt($key);
<h2>Once encrypted your file will look like this:</h2>

<textarea cols="100" rows="5"><?php echo $cr->result;?></textarea>
$cr->error) die($cr->error);
<h2>Decrypt back to get this</h2>
<textarea cols="100" rows="50"><?php echo $cr->result;?></textarea>

For more information send a message to info at phpclasses dot org.