Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
2.0 alpha version, preparing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Sep 19, 2013
1 parent 602cfdd commit 63d98e7
Show file tree
Hide file tree
Showing 6 changed files with 4,319 additions and 4,426 deletions.
8 changes: 1 addition & 7 deletions examples/string/encrypt2.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<?php
// Start the session so we can use sessions
session_start();
// Include the jCryption PHP library
require_once("../../jcryption.php");
// Set the RSA key length
$keyLength = 1024;
// Create a new jCryption object
$jCryption = new jCryption();


// If the GET parameter "generateKeypair" is set
if(isset($_GET["generateKeypair"])) {
$_SESSION["publickey"] = file_get_contents("rsa_4096_pub.pem");
Expand Down
4 changes: 1 addition & 3 deletions examples/string/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
font-size:12px;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<!-- // <script type="text/javascript" src="../../jquery.jcryption.js"></script> -->
<script type="text/javascript" src="../../jsencrypt.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.jcryption.2.0.js"></script>
<script type="text/javascript">
var $loader = $('<img src="loading.gif" alt="Loading..." title="Loading..." style="margin-right:15px;" />');
Expand Down
2 changes: 1 addition & 1 deletion examples/string/message
Original file line number Diff line number Diff line change
@@ -1 +1 @@
U2FsdGVkX1/7FqD6mimsZdD6ozFE/7JbLGj/7zpRCKo=
U2FsdGVkX19PSSBTYTVYxR7juKBkdeFBciNFvb2QYe0=
Loading

0 comments on commit 63d98e7

Please sign in to comment.