I need mac (carbon) equivalent for CryptProtectData and CryptUnProtectData.
Please refrain from suggesting a cocoa solution with "move to cocoa" since that's not an option.
I need mac (carbon) equivalent for CryptProtectData and CryptUnProtectData.
Please refrain from suggesting a cocoa solution with "move to cocoa" since that's not an option.
I'm not a Mac expert but I think you want to use the Keychain API on Mac. You might just use Keychain for storing/generating the protection key, and use the native encryption api's for en/de-crypting the file.