PDA

View Full Version : Feature Request: Add Ext.Crypto to library



lorezyra
18 Apr 2014, 1:47 AM
I request to add the crypto lib to ExtJS. Here's the Git-Hub repo I have just thrown online...

git@github.com:lorezyra/extjs-crypto.git


Currently, it support Base64 and RichCodec encoding/encryption schemes. I plan to add MD5, HMAC, SHA to it later...



https://github.com/lorezyra/extjs-crypto

mitchellsimoens
18 Apr 2014, 3:52 AM
I'm not sure this belongs in the framework. Seems more of an application need. Plus, we'd have to research it more but licensing of the code and any code that it uses that belongs to other would have to be researched.

lorezyra
18 Apr 2014, 4:29 AM
Mitchell, As far as base64 encoding algorithm is concerned, it is based on http://www.ietf.org/rfc/rfc3548.txt. Aside from the academic document itself, no on owns base64. It's public domain. Regarding RichCodec, I wrote this JavaScript over 10 years ago and have decided to provide it to Sencha. I haven't researched MD5, but I suspect it is now public domain. SHA in the other hand may have some issues as it was sponsored by the NSA for development. I'll research this later.

lorezyra
11 Jul 2014, 3:07 AM
Should anyone care, I've updated my crypto library on GitHub. I've added Hex, SHA1 and updated Base64. When I can spare time, I'll continue to add the major/popular hash methods for you to freely use.

lorezyra
14 Jul 2014, 6:55 PM
@SenchaMitch,

Thank you for adding Base64 (http://docs.sencha.com/extjs/5.0.0/apidocs/#!/api/Ext.util.Base64) to the framework! I'm glad to see it there.

Now, if we could only get some more number and crypto classes added...

http://docs.sencha.com/extjs/5.0.0/apidocs/#!/api/Ext.util.Base64