Allow reading custom digests. Fixes #13.