Re: Javascript repository or package for PEAR
| From: | Michael Bretterklieber | Date: | Mon, 03 Feb 2003 19:04:07 +0000 |
| Subject: | Re: Javascript repository or package for PEAR | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12954@lists.php.net to get a copy of this message | ||
Hi,
Pierre-Alain Joye wrote:
On Mon, 03 Feb 2003 16:21:11 +0100 Michael Bretterklieber <mbretter@jawa.at> wrote:+1In my case I have javascript-functions for md5, sha1, base64, md4 and some others like bin2hex, I can imagine that these functions can also be useful for other packages in the future, or not?These generic function may be added in the HTML_Javascript package, I have already some kind of clientside functions to add. Using this package, you will have a common way to add the different JS libs to your pages using a standard path. makes a lot of sense putting common JS-stuff into this packages
Can you provide a link with your functions ? sure,http://www.bretterklieber.com/php/pear/Auth_CHAP/js/ md4, md5, sha1 was taken from here http://pajhome.org.uk/crypt/ They are very good I tested them, they are binary safe, I had other ones wich where not binary-safe. the other libs I found somewhere in the web. I slightly modified des.js and added Triple-DES functions. My own things I put into jslib.js, there are currently only hex2bin and bin2hex, but there will be more soon. In our project I have also these libs, wich can maybe also added: inflate, deflate, bigint, rot13, utf bye, -- ------------------------------- ------------------------------------- Michael Bretterklieber - Michael.Bretterklieber@jawa.at JAWA Management Software GmbH - http://www.jawa.at Liebenauer Hauptstr. 200 -------------- privat --------------- A-8041 GRAZ GSM: ++43-(0)676-93 96 698 Tel: ++43-(0)316-403274-12 E-mail: michael@bretterklieber.com Fax: ++43-(0)316-403274-10 http://www.bretterklieber.com ------------------------------- ------------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972