Encrypt/decrypt javascript objects as base64 strings and TTLs easily