Library of the Week: Password Hashing 101

This library of the week is not a single library, but rather a few different libraries used for password hashing. But first a little background. Everybody knows that storing plain text passwords is a bad idea. Storing plain text hashes is not much better; with lookup tables attackers can still…

Library of The Week: Colorbox

Lightbox, a favorite technique for presenting image galleries, has been with us for more than 10 years. Click on an image and it is displayed in a large modal overlay with controls to step through other images in the same gallery. Although some pure CSS experiments [http://tympanus.net/codrops/…

Library of The Week: decimal.js

Every child can tell you that 1 + 2 = 3. But what is 0.1 + 0.2? As developer, you are doubtless aware that the result when using floating-point arithmetic isn't exactly 0.3 but rather 0.30000000000000004. That's good enough for many applications, but in some…

Library of the Week: lz-string

You know the feeling. You need a simple generic utility library, and you're convinced you aren't the first one. You know the best code is the code you don't have to write yourself, so you consult Google, Stack Overflow and even GitHub. No dice?…

Library of the Week: Crossroads.js

This week, let's talk about the standalone routing library Crossroads.js [https://www.javascripting.com/view/crossroads-js] by Miller Medeiros [http://blog.millermedeiros.com/]. We should also mention Hasher [https://www.javascripting.com/view/hasher], a library by the same author that is often used in conjunction with…