Jim Savage wrote:
New to cryptography, I'm using IBM callable services CSNBENC and CSNBDEC to encrypt/decrypt fields in SMS files. It seems I need to obtain a key identifier by calling CSNBKGN and also specify an initialization vector to encrypt. Are these two calling parameters 'keys' for the encryption? Are they stored somewhere (and retreivable for decryption) in the calling services software? or do I store one or both of them on my own in a file secured by some means? The IBM manuals seem to assume a level of knowledge I just don't have on this subject. Help!

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

We create a key using the KGUP utility program. This key is then accessed by the ICSF CSFKRR api. The key is accessed via the keylabel you select in the key creation process.

After the ICSF CSFKRR service reads the key from the CKDS database it returns a token value which is used by the decrypt and encrypt routines.

Did this answer your questions?

--
Mark Jacobs
Technical Services
Time Customer Service - Tampa, FL
------
Victory in defeat, there is none higher. She didn't give up, Ben; she's still trying to lift that stone after it has crushed her. She's a father going down to a dull office job while cancer is painfully eating away his insides, so as to bring home one more pay check for the kids. She's a twelve-year-old girl trying to mother her baby brothers and sisters because Mama had to go to Heaven. She's a switchboard operator sticking to her job while smoke is choking her and the fire is cutting off her escape. She's all the unsung heroes
who couldn't quite cut it but never quit.*

Robert A. Heinlein - Stranger in a Strange Land
*Referring to the Auguste Rodin sculpture, Caryatid Who Has Fallen under Her 
Stone

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to