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 sourceThis 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 :
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 @@
This page is for developers to test public features of Ciform.
+= "var CIFORM_PUBKEY =" . ciform_rsa_pubKey2Json($keyPair) . ";" ?>
+ = "var myCiformServer =" . ciform_rsa_pubKey2Json($keyPair) . ";" ?>
@@ -100,6 +111,7 @@
| KEY | VALUE | DECRYPTED |
|---|