Article ID: 259484 - View products that this article applies to.
This article was previously published under Q259484
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\CheckInfoA value named Mask should be created with a REG_DWORD value of 0xFF.