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

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.

Properties

Article ID: 259484 - Last Review: October 26, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
    • Microsoft Windows NT 4.0
Keywords: 
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 smallbusiness.support.microsoft.com