Path: utzoo!attcan!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: BYKAT@UTCVM.BITNET (Dr. A.Bykat) Newsgroups: comp.sys.sun Subject: encrypt functions problems Keywords: Miscellaneous Message-ID: <858@brchh104.bnr.ca> Date: 12 Dec 90 18:31:49 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 406, message 5 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu Tried to use the encrypt C Library function (under SunOS 4.X, 4/60) and run into the following problems: 1) setkey() does not work; it produces ld: Undefined symbol _setkey 2) without setkey() the encrypt(data,0) crypts the data, while encrypt(data,1) produces the original data only if both functions are called within the same program. However, if program1 invokes encrypt(data,0) and program2 feeds the encrypted data to encrypt(data,1) gibberish results. Is this a known problem? Is there a way to overcome it?