dhArith

I added a dhArith function. It is unoptimized and does not yet deal
with actual keys, i.e. bytestrings.