> Has anybod experience in doing password encryption in standard cobol ...
I did a calculation on a name, date etc. and a series of Y/N values, pushing the alpha characters into num fields by calculation like in a banking account number, where the position in the string influences the calculation, translated that to a non-10 based number (i think it was 24-based, 0..9,A..Q or a bit like that). Transposed the result by a pseudo-random table to a new string, and chopped that into manageable pieces (5/7 chars) This is presented in my license-form, and together with the original name, results in the correct Y/N options set.
A method like this could be used in any language, so why not in cobol. The hard part is to device a calculation that's not to obviously reversible. If I change 1 char in the name or date entered, a lot of digits in the key change, so I concluded it's difficult enough to crack. The market where it's to be used is small and sophisticated enough, not to even try to break this, so ;-)
> The solution must run on NT/WIN2000 and also on the mainfraime.
Just write it in cobol, compatible with ansi 85 or 92 standards, can't miss ;-) If you have used both Windows and unix or MVS compilers, you probably know the quirks that separate the platform dependent compilers, and how to avoid problems, if there are any. Usually the supplier of the compiler can inform about any known differences.
HTH
TonHu