Extended message digesting API to support multiple providers