PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Peeyush Budhia  >  Secure Data  >  index.php  >  Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: example file
Class: Secure Data
Encrypt and decrypt data with mcrypt Rijndael 256
Author: By
Last change:
Date: 8 years ago
Size: 1,453 bytes


Class file image Download
        <title>Secure Data</title>
    <body align="center" bgcolor="grey">
            <h3>Encrypt Your Data</h3>
            <form action="index.php" method="post" name="SecureData">
            <label>Enter Any String</label>
            <input type="text" name="myString" value="" size="35">
            <input type="submit" name="setEncrypt" value="Encrypt It...">

if(isset($_POST['setEncrypt'])) {
$_POST['myString'])) {
"<font color=blue>Please Enter Any Value</font>";
$_myName = $_POST['myString'];
$SD = new SecuringData();
$_secure = $SD->encryptData($_myName);
                    <td width="120"><?php print "Secure Data: "; ?></td>
                    <td ><?php print $_secure; ?></td>
                    <td><?php print "You Entered: "; ?></td>
                    <td><?php print $SD->decryptData($_secure); ?></td>

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