BadgerDB Implemented AES Encryption
blog.dgraph.io
blog.dgraph.io
It will be difficult for me to trust a crypto implementation written by people who don’t seem to know what a PBKDF is.
Reducing the keyspace to only ASCII/printable is a pretty big deal, although judging by the article and not the code, I doubt brute force is the way to break your system.
The method you are employing (cracking contests) is another thing that projects commonly do that makes people trust their implementations less.
Inventing a cryptosystem is a pretty big task. I haven’t looked at your code. How are you sure that you got it reasonably right?
Furthermore, why do you believe it’s better to do this in the application than, say, with LUKS?