|
What sort of data are you going to encrypt? This might influence the
algorithm you choose to use.
Will the PCs be able to access the IBM i machine or will they be
standalone?
> 1. Looking for a simple example of using the crypto routines in RPG.
https://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Fapis%2Fqc3WriteCusILERPG.htm
http://www.scottklement.com/rpg/cipher/
http://www.mcpressonline.com/rpg/simplify-encryption-with-the-use-of-rpg-reusable-procedures.html
> 3. What format should I use when encrypting the data (I figure the
routines won't encrypt the same text in ASCII and EBCDIC the same).
Maybe Unicode?
Use iconv() to convert between EBCDIC and UTF-8:
http://iprodeveloper.com/rpg-programming/how-convert-data-utf-8
As an Amazon Associate we earn from qualifying purchases.
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.