From aea146ce225980e10cdb7c3cbb30f77b48700147 Mon Sep 17 00:00:00 2001 From: cbonar Date: Mon, 24 Mar 2008 12:45:09 +0000 Subject: [PATCH] + a batch of fixes --- ciform/trunk/test/demo.php | 38 ++++++++++++++++++++++++++++++++++---- ciform/trunk/test/test.php | 38 +++++++++++++++++++++++++++++++------- 2 files changed, 65 insertions(+), 11 deletions(-) diff --git a/ciform/trunk/test/demo.php b/ciform/trunk/test/demo.php index ad5ae49..4781ad4 100644 --- a/ciform/trunk/test/demo.php +++ b/ciform/trunk/test/demo.php @@ -1,4 +1,11 @@ - + + - + + + ">show source

Demo page for CiForm

+

This page is for web administrators who wish to see Ciform working.

+

1. Fill in the following form

On submit, a hidden output field takes the value of the encrypted password, @@ -47,7 +77,7 @@ login :
password : - + Encrypt using SHA-1 :
Preview of the encrypted text * : diff --git a/ciform/trunk/test/test.php b/ciform/trunk/test/test.php index 5dff26a..e70f371 100644 --- a/ciform/trunk/test/test.php +++ b/ciform/trunk/test/test.php @@ -1,22 +1,33 @@ - + + - + + + ">show source

Test page for Ciform

+

This page is for developers to test public features of Ciform.

+

1. Key generation

The key is either read from a file or generated on the fly if no file was found.
It is served to the client as JSON data :

- + @@ -100,6 +111,7 @@

$val ) { $dec = ciform_decryptParam($val,$keyPair); @@ -120,6 +132,7 @@ echo ""; } } + define("CIFORM_DEBUG",FALSE); ?>
KEYVALUEDECRYPTED




@@ -131,15 +144,26 @@ //