public static bool CryptCreateHash(IntPtr hProv, CAlg cAlg, IntPtr hKey, uint dwFlags, ref IntPtr phHash) => CryptCreateHash(hProv, (uint) cAlg, hKey, dwFlags, ref phHash);
public static bool CryptDeriveKey(IntPtr hProv, CAlg alg, IntPtr hBaseData, int flags, ref IntPtr phKey) => CryptDeriveKey(hProv, (int) alg, hBaseData, flags, ref phKey);