adapted DigestResult handling multiple based on keys