Gets the digest name based on the digest id digest.
digest
a CryptoContext
digest id
the equivalent digest name or null on fail.