[comp.os.vms] Security checking and passwords.

ENPHCP@UBVMSC.CC.BUFFALO.EDU (02/13/88)

Hello,

   I am attempting to solve a problem which apparently was quite a hot topic
on info-vax recently and I wonder if someone could help me out. I am working
on a file server program which monitors a terminal line for file transfer
requests. Part of the information passed along with this request is a
username and two passwords. I need to check out that the user is actually
who they say they are and that they have access to the file they are
requesting. I've looked at $GETUAI and $CHKPRO and these seem to be the answer
to my problem with one small problem. The problem is that $GETUAI returns the
passwords as hashed INTEGER*4 values (understandably) and that I need to hash
the passwords using the 1-way encryption algorithm that created the original
passwords. How do I do this hashing when I have no documentation for the
system encryption services? If you don't wish to post this info directly to
the info-vax board please contact me personally.

                                                      Kent Jones

Phone : (716) 684-9500
Bitnet: ENPHCP@UBVMS