Networked and encrypted key-value database