A simple javascript encryption library