encypt decrypt

marksward

New Member
Has anyone a sample of how to make this work in openedge.

I need to encrypt using DES_CBC_56.

Produce a key.

save both to a file.

read in the files and decrypt the message.

I seem to be able to encrypt/decrypt within 1 .p but as soon as I save to file it don't work!

Most of the relating functions using raw data types is throwing me off a bit.

This is a proof of concept thing I'm trying to do.

Help Appec.
Mark
 
i think the best place to look for is the docs

first of all to get an understanding of encryption, hashes, where to keep
your passowrds etc.

the chapter on security in the core business services doc, from the 10.1a
collection (you can find them @psdn)

and of course theres lots examples in the docs


i wrote a basic io library (super proc) a while back with basic encryption,
and also compression (zlib) functionality

if you're interested i'll get a copy and posted sometime this week
 
That would be great.

At the moment the basics of putting the encrypted data and key into a file to re-read is all I'm trying to achieve.

I know there the whole key-management stuff to deal with as well once I have the basics done!
 
to take advantage of the compression functionality you will need an os
compatible zlib library (i've included the windows dll)

i've use the compression routines a while back for a small document
management system i builded

i strongly recommend (and hope) you'll go over the docs. hth
 

Attachments

Many many thanks for that.

And yes I will be reading the docs :)

Its jsut easier to relate a working example to what your reading - for me anyway!
 
Back
Top