I have an unusual one.
I using the COM reference to Uniobjects in a .NET 2005 project and I would
like to early bind all of the objects. My client is still on release 2 of
uniobjects and 9.4 of Universe (bless) so I can't use a .NET uniobjects
library, and upgrading Universe and Uniobjects is
Hello all,
The code below:
RESULT = ''
STATUS = DIGEST('MD5','THIS IS A TEST',1,RESULT)
PRINT 'STATUS = ' : STATUS
PRINT 'RESULT = ' : OCONV(RESULT,'MX')
works fine, except... I keep getting binary data displayed, despite the
OCONV(RESULT,'MX')
Anyone have an idea how to turn the RESULT
Try MX0C.
Best regards,
Henry
Henry P. Unger
Hitech Systems, Inc.
http://www.hitech.com
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of m3p
Sent: Tuesday, August 11, 2009 12:36 PM
To: u2-users@listserver.u2ug.org
Actually, you need to parse character by character:
NB.CS = LEN(HASHED.TEXT)
NEW.TEXT =
FOR THE.C = 1 TO NB.CS
NEW.TEXT := OCONV(HASHED.TEXT[THE.C,1],MX0C)
NEXT THE.C
Where HASHED.TEXT is your encrypted string. Took me by surprise too!
Laure Hansen,
City of
We run UD and have the following lines:
RET = DIGEST(SHA1, VALUE, 1, SHA1.RESULT)
VALUE = OCONV(SHA1.RESULT, HEX)
IF VALUE = '' THEN
VALUE = OCONV(SHA1.RESULT, MX)
END
Not sure if that helps you or not
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
*Sorry, the formatting looked fine in the email editor, just not once sent.
Here it is again, hopefully it looks fine this time*
We run UD and have the following lines:
RET = DIGEST(SHA1, VALUE, 1, SHA1.RESULT)
VALUE = OCONV(SHA1.RESULT, HEX)
IF VALUE = '' THEN
VALUE =
Using OCONV(RESULT,'MX0C') seems to work OK on Windows but I'm sure I had
problems with this on UV 10.2 on hp-ux. However, ICONV(RESULT,'MY') worked on
both.
Cheers,
Andy
- Original Message
From: m3p jr...@go.com
To: u2-users@listserver.u2ug.org
Sent: Tuesday, 11 August, 2009