jCryption 1.1
27
Jun/109
Jun/109
Hello everyone …
It’s been a long time since I updated jCryption.
But the time has come …
jCryption 1.1 is here …
I completly reworked the javascript code and almost redecued the filesize by the half.
The biggest change is that you now can encrypt any string not just a form …
But it’s still as easy as before to encrypt a whole form.
For more information check out the new example & doc page.
Thanks
Daniel

April 29th, 2011
I’ve got an annoying problem, I’ve hardcoded a key into a text file for the javascript client and into the PHP code too (I know it’s not a good idea but it’s a long key and processing time is greatly reduced). Sometimes when I submit data, it works fine, other times it won’t work at all, and I’m logging the data it recieves and seeing no differences (I’m submitting the data). If however I replace the decryption code with this;
while (strlen($Data) > 30 || strlen($Data) decrypt($Data, “*snip*”, “*snip*”);
}
After about 30 seconds of processing, it eventually spits out the correct string. I’ve looked and looked but I’m still unable to find the cause of it, would you happen to have any idea?
April 29th, 2011
Humm it’s removed some of the code;
while (strlen(Data) greater than 30 OR strlen(Data) less than 2)
{
Data = jCryptiondecrypt(Data…
February 16th, 2011
Totally agree to Vahe Pezeshkian post, please fix the issue with the IE and add a “var” before result-variable.
Nice library!
February 17th, 2011
I’ve already fixed it on the Github Version … I didn’t update the site yet … But thanks for reporting it again
January 29th, 2011
Besides what Marcelo said about server-side php script, there is some point about client-side javascript.
IE will not be able to interpret the library correctly if you do not correct line 464 in jcryption.js file:
function biMultiplyDigit(x, y) {
var n, c, uv;
result = new BigInt(); =>> var result = new BigInt();
n = biHighIndex(x);
c = 0;
for (var j = 0; j >> biRadixBits;
}
result.digits[1 + n] = c;
return result;
}
You should add “var” keyword else you’ll get object does not support method or property error in Internet Explorer.
Great library
December 12th, 2010
Hi Daniel,
First: Great plugin for jQuery, maybe one of the best I ever used!
But I’ve figured out that jCryption won’t work if you use a as submit button (it takes bout two or three hours to find out that
)
It would be nice if you add the type=”image” submitbutton to the next version if jCryption.
Kind regards,
Tobi
December 7th, 2010
split() ha sido declarada OBSOLETA desde PHP 5.3.0.
en la linea 638:
$blocks = split(‘ ‘, $encrypted);
reemplazar por:
$blocks = explode(‘ ‘, $encrypted);
August 12th, 2010
Thanks for your effort!
It can let me to solve the security easily.
Thank you!
August 12th, 2010
Thanks for your effort!
It can let me to slove the security easily.
Thank you!: )