Purexo-GoogleExportation / javascript-bcrypt

Automatically exported from code.google.com/p/javascript-bcrypt
0 stars 0 forks source link

I don't want Mochikit and useless stuff? #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The bCrypt package contains MochiKit, which apparently also includes list of 
colors from tomato to springgreen Mochikit/Color.js:

    ...
    springgreen: "#00ff7f",
    steelblue: "#4682b4",
    tan: "#d2b48c",
    teal: "#008080",
    thistle: "#d8bfd8",
    ...

Now it's cool and all. But I don't think you should include anything not 
required in bcrypt implementation. I'm trying to figure out how to strip 
everything useless away, and possibly minimizing this implementation to single 
file.

Original issue reported on code.google.com by jari.pennanen@gmail.com on 14 Nov 2012 at 9:46

GoogleCodeExporter commented 9 years ago
I noticed that whole Mochikit and Clipperz can be trashed if you only use 
"predefined-salt" implementation, only thing you need to do is comment the line 
bCrypt.js: 

//this.PRNG = Clipperz.Crypto.PRNG.defaultRandomGenerator(); remove or comment 
this line

And of course remove script tags associated to Clipperz and MochiKit.

Enjoy!

Original comment by jari.pennanen@gmail.com on 15 Nov 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Mochikit and Clipperz has been removed in the newest version. There is now just 
a single ISAAC library.

Original comment by nevins.bartolomeo@gmail.com on 12 Dec 2012 at 2:48