I recently started playing around with the Dropbox Datastore JavaScript API and decided that I wanted an extra layer of security in the data I store on the Dropbox server. I figured the best way to accomplish this would be to encrypt all data in my application before syncing.
It took me a while to find an encryption library that I liked, but in the end, I chose the JavaScript library Forge. This library has plenty of cryptography tools that extend beyond just AES encryption, thus making it very worthy to check out.
Read MoreI recently released an iOS and Android application called OTP Safe to iTunes and Google Play. OTP Safe makes use of the time-based one-time password (TOTP) algorithm commonly used with two-factor authentication (2FA). How exactly, does this algorithm work, and how can we make it work with JavaScript?
Using the following resources as our framework, we can make use of the TOTP algorithm quickly and easily: