Home > Blogs > Geekish Garrulous Grumblings blogs › using IBMi FIELDPROC encrypt sensitive data

Geekish Garrulous Grumblings blogs › using IBMi FIELDPROC encrypt sensitive data

January 23rd, 2013
padlock your data away from hackers eyes

I wrote a data encryption routine a few years ago. In my ongoing mission to refactor my old utilities, I was looking at it this weekend thinking about ways to improve it. The basic premise behind my routine is to read a row of information from a file, perform encryption of said data based on a specific 'key' and then hide the key within the encrypted data - so it can be decrypted correctly at a later date. Keeps data safe from prying eyes even if they manage to get access to the file data itself. This worked very nicely for obfuscating the source code for my Projex4i programs, but has bitten me on a few occasions when somebody has tampered with the data in the file, therefore making my encryption key incorrect. Tampered data means I have effectively lost my ability to decode it.

There must be a better way right?

There is - FIELDPROC in IBM-i v7.1

What is Field Proc?


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:
Comments are closed.
css.php