enhanced return type support for Digest/DigestDataToString