Donate Share

JavaScript Shopping & Crypto

Code

Programming Languages: JavaScript

License: GNU General Public License (GPL)

Show:

What's happening?

  • Comment: Side effect with bdiv

    This use of new for de bdiv and other functions also solves the problems arising when executing the javascript serverside. Yves Vanhaesebroeck.

    2008-07-07 14:55:56 UTC by nobody

  • Side effect with bdiv

    I've noticed a side effect using the script found at http://shop-js.sourceforge.net/crypto.js. The 'bdiv' function makes use of the keyword 'this' to assign two fields to the result : 'q' and 'mod'. But in the rest of the script, the bdiv function is called like a normal function : r=bdiv(p,m); When called this way, the current object reflected by 'this' is the top, 'window' object.

    2008-06-26 21:36:06 UTC by cbonar

  • searching for a javascript repository

    Hi Surfing on the net, I came to your project's website, and I was very impressed ! I already knew that there was some javascript code about cryptography (http://pajhome.org.uk/crypt/md5/sha1src.html), but this one makes me think javascript is really under-exploited in the www... Anyway, here's the purpose of this post : I have a few javascript functions that may be of some help for...

    2005-01-02 18:38:29 UTC by cbonar

  • Doesn't work with MacOS X

    Hi, I've been using your (fantastic) code on my company's website and we've had users reporting issues when using IE on Mac and Safari on Mac. Just wondering is there was some sort of endianness issues or other or if I'm not the only one with this pb. Works great on any other browser combinaison I've tried though. thx Artaxerxes.

    2004-10-06 13:48:50 UTC by artaxerxes

  • myshop.js and Apple's Safari

    Cookies in Safari have always been a bit iffy. They seem to have fixed them for PHP but Javascript still has a bug where unless you specify a path, it assumes the directory you're in. myshop.js doesn't set a path. so, adding a purchase from www.foobar.com/foo/ and then going to www.foobar.com/paynow/ will show nothing in the cart. To fix this, add a path=/ to the SetCookie function. ie.

    2003-07-11 02:17:26 UTC by singletrack

  • Rijndael in JavaScript

    Fritz Schneider wrote me to announce the availability of Rijndael in JavaScript at his web site: http://www-cse.ucsd.edu/~fritz/rijndael.html All this might be totally useless, but I think it's lots of fun! Three cheers, Fritz! john.

    2002-07-22 17:02:24 UTC by jhanna777

  • Server-side Decoder now available

    Tune up your handy decoder rings -- I now have a server-side decoder working. Sorry all you ASP types -- I couldn't get JScript to work. Sorry all you PERL types -- I couldn't get a cross-platform version working that was fast enough. Yes, it's PYTHON! Python had the cross-platformability and the bigint stuff compiled in. Eventually I'll put all the parts together (from trevco and the rest)

    2002-07-12 22:28:05 UTC by jhanna777

  • TrevCo music about to deploy myshop!

    My first commercial implementation is just about to go live.... Well, it's taken months to get this far, but I think we're quite close. This has included a lot of usability udates including local sales tax, quantity discounts, an "info" page for the non-technical... Lots of little things that make the difference between an untested concept and the real MaCoy! He's using his ISP's...

    2001-11-12 20:50:11 UTC by jhanna777

  • Followup: By the way... about a week away from upgrade

    I'm about a week away from posting an update to the shopping thing that takes care of tax and a couple of other details. My first implementation is about to go live, and we've worked out a number of minor usability details. john.

    2001-04-03 21:46:51 UTC by jhanna777

  • Followup: RE: Definately interested in what you are doing..

    Hi, Lance. The source is all included -- it's JavaScript, so you may need to view source in the browser or look at the myshop.js and crypto.js files. You did find http://shop-js.sourceforge.net/myshop.htm and http://shop-js.sourceforge.net/crypto2.htm yes?.

    2001-04-03 20:49:25 UTC by jhanna777

Our Numbers