From aea146ce225980e10cdb7c3cbb30f77b48700147 Mon Sep 17 00:00:00 2001
From: cbonar This page is for web administrators who wish to see Ciform working. On submit, a hidden output field takes the value of the encrypted password,
@@ -47,7 +77,7 @@
login : This page is for developers to test public features of Ciform.Demo page for CiForm
+ 1. Fill in the following form
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 @@
Test page for 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 :
= "var CIFORM_PUBKEY =" . ciform_rsa_pubKey2Json($keyPair) . ";" ?>
+ = "var myCiformServer =" . ciform_rsa_pubKey2Json($keyPair) . ";" ?>
@@ -100,6 +111,7 @@
| KEY | VALUE | DECRYPTED |
|---|