The Cryptographic Services APIs are the topic of this issue of APIs by Example. These APIs let you encrypt and decrypt data on the iSeries without needing to purchase additional software or hardware.
The example code for this article uses the Rijndal algorithm that was selected as the Advanced Encryption Standard (AES) by the National Institute of Standards and Technology (NIST) with the approval of the Federal Information Process Standard (FIPS) 197. There’s a link to FIPS-197 at the end of this article.
The Cryptographic Services APIs became available by installing PTFs very soon after the release of V5R2. Subsequently, IBM also added the new APIs to the API documentation for that release.
Download the save file containing the source code.