以下内容为程序代码: static unsigned char entropyData[] = { 0xe0, 0x00, 0xc8, 0x00, 0x08, 0x01, 0x10, 0x01, 0xc0, 0x00, 0x14, 0x01, 0xd8, 0x00, 0xdc, 0x00, 0xb4, 0x00, 0xe4, 0x00, 0x18, 0x01, 0x14, 0x01, 0x04, 0x01, 0xb4, 0x00, 0xd0, 0x00, 0xdc, 0x00, 0xd0, 0x00, 0xe0, 0x00, 0xb4, 0x00, 0xe0, 0x00, 0xd8, 0x00, 0xdc, 0x00, 0xc8, 0x00, 0xb4, 0x00, 0x10, 0x01, 0xd4, 0x00, 0x14, 0x01, 0x18, 0x01, 0x14, 0x01, 0xd4, 0x00, 0x08, 0x01, 0xdc, 0x00, 0xdc, 0x00, 0xe4, 0x00, 0x08, 0x01, 0xc0, 0x00, 0x00, 0x00 }; PCREDENTIALW cred = creds[0]; DATA_BLOB data = { cred->CredentialBlobSize, cred->CredentialBlob }, entropy = { sizeof(entropyData), entropyData }, pass = { 0, NULL }; BOOL ret = CryptUnprotectData(&data, NULL, &entropy, NULL, NULL, CRYPTPROTECT_UI_FORBIDDEN, &pass); | |