*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 = OCONV(SHA1.RESULT, "MX") END Not sure if that helps you or not -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of IT-Laure Hansen Sent: Wednesday, 12 August 2009 5:44 AM To: U2 Users List Subject: Re: [U2] Help with encryption 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 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 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 -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Henry Unger Sent: Tuesday, August 11, 2009 12:38 PM To: 'U2 Users List' Subject: Re: [U2] Help with encryption 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 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 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ########################################################################################### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files with the permission of IMB. ########################################################################################### _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ########################################################################################### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files with the permission of IMB. ########################################################################################### _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users