Only support basic digest types for custom arbitrary digests. Ensures fe...

...ature parity with Java client. Fixes #14.