How to use JavaScript for data encryption and decryption?