INFO: CryptEncrypt and CryptDecrypt Functions Are Supported with the French Locale on Windows 2000 (259484)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows NT 4.0

This article was previously published under Q259484

SUMMARY

Because of French Cryptographic import laws, the CryptEncrypt and CryptDecrypt functions return NTE_PERM on Windows NT 4.0 when the French Locale is chosen. A change in the import laws removed this restriction on Windows 2000.

To enable CryptEncrypt and CryptDecrypt on computers that are running Windows NT 4.0, Service Pack (SP) 6a, the following registry key needs to be created:

HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\defaults\CheckInfo

A value named Mask should be created with a REG_DWORD value of 0xFF.

Modification Type:MinorLast Reviewed:7/8/2005
Keywords:kbAPI kbinfo kbKernBase kbSecurity KB259484