<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: FAQ</title>
	<atom:link href="http://www.jcryption.org/faq/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jcryption.org</link>
	<description>javascript data encryption</description>
	<lastBuildDate>Tue, 31 Aug 2010 08:56:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Santscho</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3712</link>
		<dc:creator>Santscho</dc:creator>
		<pubDate>Sun, 15 Aug 2010 19:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3712</guid>
		<description>&quot;uploades everything&quot; means, uploaded the original jCryption folder. the main.php I&#039;ve changes is the one in Example2</description>
		<content:encoded><![CDATA[<p>&#8220;uploades everything&#8221; means, uploaded the original jCryption folder. the main.php I&#8217;ve changes is the one in Example2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santscho</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3711</link>
		<dc:creator>Santscho</dc:creator>
		<pubDate>Sun, 15 Aug 2010 18:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3711</guid>
		<description>looks like cant post php code here. so again:

parse_str($var,$result);
QMARK&gt;


php echo “decrypted POST”; mail(“ralph.haering@gmail.com”,”Subject”, print_r($result,true));

</description>
		<content:encoded><![CDATA[<p>looks like cant post php code here. so again:</p>
<p>parse_str($var,$result);<br />
QMARK&gt;</p>
<p>php echo “decrypted POST”; mail(“ralph.haering@gmail.com”,”Subject”, print_r($result,true));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santscho</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3710</link>
		<dc:creator>Santscho</dc:creator>
		<pubDate>Sun, 15 Aug 2010 18:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3710</guid>
		<description>uploaded everything on the server and tried to send me an email. but the status circle runs endless and will not send the form. the end of my “main.php” looks like this:

</description>
		<content:encoded><![CDATA[<p>uploaded everything on the server and tried to send me an email. but the status circle runs endless and will not send the form. the end of my “main.php” looks like this:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santscho</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3709</link>
		<dc:creator>Santscho</dc:creator>
		<pubDate>Sun, 15 Aug 2010 18:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3709</guid>
		<description>uploaded everything on the server and tried to send me an email. but the status circle runs endless and will not send the form. the end of my &quot;main.php&quot; looks like this:

parse_str($var,$result);
?&gt;





</description>
		<content:encoded><![CDATA[<p>uploaded everything on the server and tried to send me an email. but the status circle runs endless and will not send the form. the end of my &#8220;main.php&#8221; looks like this:</p>
<p>parse_str($var,$result);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelt</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3692</link>
		<dc:creator>Kelt</dc:creator>
		<pubDate>Tue, 03 Aug 2010 20:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3692</guid>
		<description>Nice jquery plugin. I actually wrote something similar on the php side and then found this. I was using GMP to handle the big numbers though... I think mine is quicker on on key generations than your BC math. *shrugs*

Something else I might suggest is to generate a hash lookup table to cut back on  key generation time but it might not be something you want to do. Looks like the getPrime(...) function picks a random number and finds the next prime... I noticed you choose the Fermat prime for public key E. 

What I am wondering is if you could pick out 100 keys a day and hash them into storage, then you could have a lookup table with little complexity and not run the risk of over using the same keys. After a month&#039;s time you would have plenty of keys (more to pick randomly from).

It seems that when I cranked the key size up to 1024 it took a very long time to do anything and sometimes it would not return a result (even after 5 minutes). So I may re-write the server side stuff and keep the client end.

All in all, neat little plugin - let me know if you&#039;re interested in the hashing idea I mentioned above, I may go ahead and develop it so that you can cronjob keys to randomly pass out (if you&#039;re worried about over usage we can expire keys as well if you are looking for a one-time keypad approach).

I am using this in a system where content is not sensitive but I need to know who is logged in and keep the password secret from browser to ldap server. The server does not have SSL support (or a certificate that is trusted). Works pretty good for me.</description>
		<content:encoded><![CDATA[<p>Nice jquery plugin. I actually wrote something similar on the php side and then found this. I was using GMP to handle the big numbers though&#8230; I think mine is quicker on on key generations than your BC math. *shrugs*</p>
<p>Something else I might suggest is to generate a hash lookup table to cut back on  key generation time but it might not be something you want to do. Looks like the getPrime(&#8230;) function picks a random number and finds the next prime&#8230; I noticed you choose the Fermat prime for public key E. </p>
<p>What I am wondering is if you could pick out 100 keys a day and hash them into storage, then you could have a lookup table with little complexity and not run the risk of over using the same keys. After a month&#8217;s time you would have plenty of keys (more to pick randomly from).</p>
<p>It seems that when I cranked the key size up to 1024 it took a very long time to do anything and sometimes it would not return a result (even after 5 minutes). So I may re-write the server side stuff and keep the client end.</p>
<p>All in all, neat little plugin &#8211; let me know if you&#8217;re interested in the hashing idea I mentioned above, I may go ahead and develop it so that you can cronjob keys to randomly pass out (if you&#8217;re worried about over usage we can expire keys as well if you are looking for a one-time keypad approach).</p>
<p>I am using this in a system where content is not sensitive but I need to know who is logged in and keep the password secret from browser to ldap server. The server does not have SSL support (or a certificate that is trusted). Works pretty good for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aneubie</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3652</link>
		<dc:creator>aneubie</dc:creator>
		<pubDate>Wed, 30 Jun 2010 05:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3652</guid>
		<description>Hi,
I got it working with Java but only problem I have is when I decrypt variable I see two characters appended to my value.
Is this a bug, have anyone seen this problem before.
Please reply.
Regards</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I got it working with Java but only problem I have is when I decrypt variable I see two characters appended to my value.<br />
Is this a bug, have anyone seen this problem before.<br />
Please reply.<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3624</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 09 Jun 2010 16:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3624</guid>
		<description>This library is just what I was looking for - very simple to integrate. Thanks!</description>
		<content:encoded><![CDATA[<p>This library is just what I was looking for &#8211; very simple to integrate. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3075</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 17 Jan 2010 03:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3075</guid>
		<description>I use JavaScript to check all forms ID names to see if it has the word &quot;encrypt&quot; at the end then it loops through initialising them.</description>
		<content:encoded><![CDATA[<p>I use JavaScript to check all forms ID names to see if it has the word &#8220;encrypt&#8221; at the end then it loops through initialising them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Beavers</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3074</link>
		<dc:creator>John Beavers</dc:creator>
		<pubDate>Sat, 16 Jan 2010 20:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3074</guid>
		<description>Ok, I got it. It works, so I guess it&#039;s right. Luckily, I&#039;m using PHP to create the HTML for my page. I loop through the returned users and write out a line of javascript for each form that will be used to edit the users. Here&#039;s the javascript:

                    $(document).ready(function() 
                    {
                        $(&quot;#userForm0&quot;).jCryption( {getKeysURL:&quot;./utilities/getKey.php&quot;} );
                        $(&quot;#userForm1&quot;).jCryption( {getKeysURL:&quot;./utilities/getKey.php&quot;} );
                        $(&quot;#addUserForm&quot;).jCryption( {getKeysURL:&quot;./utilities/getKey.php&quot;} );
                        $(&quot;input&quot;).removeAttr(&quot;disabled&quot;);
                    });

If that&#039;s not the right way to do it, let me know.</description>
		<content:encoded><![CDATA[<p>Ok, I got it. It works, so I guess it&#8217;s right. Luckily, I&#8217;m using PHP to create the HTML for my page. I loop through the returned users and write out a line of javascript for each form that will be used to edit the users. Here&#8217;s the javascript:</p>
<p>                    $(document).ready(function()<br />
                    {<br />
                        $(&#8220;#userForm0&#8243;).jCryption( {getKeysURL:&#8221;./utilities/getKey.php&#8221;} );<br />
                        $(&#8220;#userForm1&#8243;).jCryption( {getKeysURL:&#8221;./utilities/getKey.php&#8221;} );<br />
                        $(&#8220;#addUserForm&#8221;).jCryption( {getKeysURL:&#8221;./utilities/getKey.php&#8221;} );<br />
                        $(&#8220;input&#8221;).removeAttr(&#8220;disabled&#8221;);<br />
                    });</p>
<p>If that&#8217;s not the right way to do it, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Beavers</title>
		<link>http://www.jcryption.org/faq/comment-page-1/#comment-3073</link>
		<dc:creator>John Beavers</dc:creator>
		<pubDate>Sat, 16 Jan 2010 18:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress2.8/?page_id=25#comment-3073</guid>
		<description>Is there a way to use this with multiple forms on a page? For example, I have a page for a site&#039;s user administration. It lists all the users and each user&#039;s info in a different form. How do I get it to encrypt just the form I need?  Here&#039;s some code I&#039;ve used that did not work:

                    function submitForm(formID)
                    {
                        var form = document.getElementById(formID);
                        formID = &quot;#&quot; + formID;

                        $(formID).jCryption({
                            getKeysURL:&quot;utilities/getKey.php&quot;
                        })
                        $(&quot;input&quot;).removeAttr(&quot;disabled&quot;);
                            
                        form.submit();
                    }
On each form I have a button that calls this function, but it does not work. I&#039;ve also tried putting the document.ready(...) part in the function, too. Neither work. Can you help me get this working, please?
Thanks</description>
		<content:encoded><![CDATA[<p>Is there a way to use this with multiple forms on a page? For example, I have a page for a site&#8217;s user administration. It lists all the users and each user&#8217;s info in a different form. How do I get it to encrypt just the form I need?  Here&#8217;s some code I&#8217;ve used that did not work:</p>
<p>                    function submitForm(formID)<br />
                    {<br />
                        var form = document.getElementById(formID);<br />
                        formID = &#8220;#&#8221; + formID;</p>
<p>                        $(formID).jCryption({<br />
                            getKeysURL:&#8221;utilities/getKey.php&#8221;<br />
                        })<br />
                        $(&#8220;input&#8221;).removeAttr(&#8220;disabled&#8221;);</p>
<p>                        form.submit();<br />
                    }<br />
On each form I have a button that calls this function, but it does not work. I&#8217;ve also tried putting the document.ready(&#8230;) part in the function, too. Neither work. Can you help me get this working, please?<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->