A really simple encryption library in Javascript