Calculate digest from the message payload
Merge pull request #1 from tidbeck/topic/correct_digest

Calculate digest from the message payload