× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 31/03/2008, at 6:44 PM, Jones Simon wrote:

I have been asked to supply data to one of our business suppliers, the
data is in xml format and must be encrypted. I have been looking at AES
encryption, and have been able to encrypt field level data no problem
(well, relatively speaking). However the data I create is copied to an
IFS folder, and it is this which I really need to encrypt. I have found
a number of tools to do this, but by and large they are expensive, and
for a one-off project such as this are difficult to justify. Is it
possible to do this encryption myself, if so I'd be grateful if anyone
could point me towards the areas which I should be looking at.

Although AES is the preferred option of our partner, any other
encryption would also be considered

IFS APIs to read the original data and write the encrypted data. See Unix-type APIs in the Information Centre. You'll need at least open (), read(), write(), and close(). You'll find examples in the archives and a tutorial at Scott Klement's web site.

Cryptographic APIs to perform the encryption. You'll need at least Qc3EncryptData(). Carsten Flensburg has written a series of articles on using these APIs at System i Network web site.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.