cdb Generator

Give me an already sorted(!) txt file as input, containing key value pairs line by line in this style:

key->value\n

i will generate and output a djb cdb database file then.