cipherobj
This sample demonstrates how to access primitive cryptographic services by using the Cipher Object system. Note that to run this sample, TEST_DES3_KEY DES3 key must be created with the following command:
ctkmu c -nTEST_DES3_KEY -tdes3 –aEDSVT
The key must be marked as sensitive (-T) as this example also demonstrates the CT_SetPrivilegeLevel(PRIVILEGE_OVERRIDE) API.