O(N) to get a key-value (N being the total number of keys) kind of defeats the purpose of a database.<p>Couldn't you just use a file with (normally) encrypted keys and values? I'm probably slightly misunderstanding the premise of this project.