Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Name Modified Size InfoDownloads / Week
Parent folder
4glcrypt.c 2020-05-11 6.0 kB
fgl_crypt 2020-05-11 20.7 kB
readme.txt 2020-05-11 989 Bytes
Totals: 3 Items   27.6 kB 0
Newsgroups: comp.databases.informix
Subject: Encryption under I4GL


From: dberg@informix.com (David I. Berg)
Date: 6 Jan 95 21:40:08 GMT

smorrow@dotrisc.cfr.usf.edu (Steve Morrow) writes:

>We have a screen which prompts for a PIN number, and the value
>entered is referenced against a value in a table for validation.

>I am interested in encrypting this PIN number.  Since such a function
>doesn't exist (yet) in 4GL, has anybody written such a routine, or has
>anyone made use of the UNIX encrypt() call from within I4GL?

>Any sample code or pointers would be appreciated.

>Thanks!

Following is a simple encryption function based on a variation of ROT13
that I wrote for password encryption. You could probably use a variation
of this scheme to do what you want.
  ___                   ___              Senior Consultant
  /  ) __      . __/    /_ ) _    _  __  Informix Software Inc. (303) 850-0210
_/__/ (_(_ (/ / (_(_  _/__) (-' ~/ '(_-  5299 DTC Blvd #740 Englewood CO 80111

Source: readme.txt, updated 2020-05-11