implement C_DigestKey