Thanks SO MUCH!

OCONV(RESULT,'MX0C') works like a charm, but ICONV(RESULT,'MY') had no
effect (at least not in UD7.2, on Windows.)

I would have never mananaged to arrive at that conversion on my own.  I
can't believe it's not just a matter of supplying some parameter in the
DIGEST function itself.  Oh well, that's the crazy world of programming I
guess.

Thanks again.



andy baum-2 wrote:
> 
> 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 20:36:25
> Subject: Re: [U2] Help with encryption
> 
> 
> 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 into a string of Hex
> characters?
> 
> Replies are much appreciated, thanks.
> 
> 
> 
> IT-Laure Hansen wrote:
>> 
>> Does anyone know how to cause MD5 hashing in Universe? UV 10.2.3 on
>> Win2003
>> server. I am hoping for a Basic command that I can run on a desired piece
>> of
>> data. Reading documentation so far hasn't helped, am I wanting to do
>> something
>> that is not available to me?
>> 
>> Thanks in advance!
>> 
>> Laure Hansen,
>> City of Redwood City - Information Technology
>> 1017 Middlefield Road - Redwood City, CA 94063
>> Office 650-780-7087 - Cell 650-207-3235 - Fax 650-556-9204
>> lhan...@redwoodcity.org<mailto:lhan...@redwoodcity.org>
>> 
>> P Please think green before printing this e-mail
>> 
>> Subscribe to receive Redwood City E-News, news releases,
>> or other documents via email: Click here to
>> register/subscribe<http://www.redwoodcity.org/eGov/login.aspx?ref=/egov/index
>> .aspx>
>> -------
>> u2-users mailing list
>> u2-users@listserver.u2ug.org
>> To unsubscribe please visit http://listserver.u2ug.org/
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Help-with-encryption-tp23508833p24924344.html
> Sent from the U2 - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 
> 
>       
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-with-encryption-tp23508833p24937398.html
Sent from the U2 - Users mailing list archive at Nabble.com.

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to