PDA

View Full Version : Security: Encrypting/Decrypting data




Duke Leto
May 10, 2008, 10:49 PM
I created a simple program to test the ideas of encrypting .. and I am referring to the C API found in the Certificate, Key, and Trust Services Reference. I am trying to use SecKeyEncrypt, but I do not know how to access the function or even how to use it..

would I call SecKeyEncrypt(param1, param2, param3, ... param6); ?

Is SecKeyEncrypt even a function?
What exactly is a SecKeyRef?

What am I overlooking?



SC68Cal
May 10, 2008, 11:11 PM
http://developer.apple.com/samplecode/CryptoSample/index.html#//apple_ref/doc/uid/DTS10001086

Duke Leto
May 10, 2008, 11:14 PM
I must have been looking in the wrong place, however, I still do not understand the concept of encryption. I guess tomorrow I will read up on it.

Thank you for the link.