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

This article has been archived. It is offered "as is" and will no longer be updated.
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:
A value named Mask should be created with a REG_DWORD value of 0xFF.

Article ID: 259484 - Last Review: 01/10/2015 12:31:29 - Revision: 3.0

  • kbnosurvey kbarchive kbproductlink kbapi kbinfo kbkernbase kbsecurity KB259484