Unidata 7.2.5 on RedHat 5.
I'm trying to SHA1 some data and get it back with some human readable
output (hex is fine). This snippet works for other Unidata people (who
have emailed me privately) but not me:
X.DATA = '1234567'
X.ERROR=DIGEST('SHA1',X.DATA,1,X.OUT)
CRT 'DIGEST err=':X.ERROR
X.RESULT = OCONV(X.OUT, "MX")
CRT 'OCONV res=':X.RESULT
Instead of giving me a nice hash result, I get binary output:
DIGEST err=0
OCONV res=ê¾]d°âynORÖз2ü
I'm trying to determine why this would cause problems on my server but
not for others.
--
Jeff Butera, Ph.D.
Manager of ERP Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556
"...we must choose between what is right and what is easy..."
Dumbledore
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users