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

Article translations Article translations
Article ID: 259484 - View products that this article applies to.
This article was previously published under Q259484
Expand all | Collapse all


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: October 26, 2007 - Revision: 2.2
  • Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
    • Microsoft Windows NT 4.0
kbproductlink kbapi kbinfo kbkernbase kbsecurity KB259484

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from