Digest algorithm agility.

Use only the most preferred digest algorithm for any give (usage,
selector) combination.