My approach would be to create not so much as a database but just a flat file, say tab delimited. You can read the entire thing into memory with PHP and manipulate the data as needed.
You could either run a web server locally (Macs have this already built in) or run it command-line based if suitable.
You'd want it to prompt for a username/password before proceeding.
You would write functions to add a new row of data, delete a row given an id, change a value given an id and column name, etc.
The entire project could be encrypted with PHPshadow. That's the cheapest PHP encryption I've found - only 5 Euros to encrypt (during a 48-hour period) or 0.99 if you do it online. Only thing is it is not available for Windows.
Regarding javascript encryption, remember that if the browser can see it, so can you. In other words, javascript encryption is pointless.