Re: [U2] Help with encryption
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.orgmailto: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/subscribehttp://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
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.orgmailto: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/subscribehttp://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
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.orgmailto: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/subscribehttp://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
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.orgmailto: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/subscribehttp://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
Re: [U2] Help with encryption
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.orgmailto: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/subscribehttp://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
Re: [U2] Help with encryption
*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.orgmailto: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/subscribehttp://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
Re: [U2] Help with encryption
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.orgmailto: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/subscribehttp://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
RE: [U2] Help with encryption
I know someone already mentioned it but since there are so many responses trying to do something more difficult I figured I'd throw it out there again. Won't the DIGEST() function do what you're looking for? - Josh -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of IT-Laure Hansen Sent: Tuesday, May 12, 2009 5:17 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Help with encryption Thanks. These seem to only handle symmetrical encryption, not one-way hashing (like MD5), but maybe I am missing something. Still reading...! 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Greer Sent: Tuesday, May 12, 2009 12:43 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
Thanks so much to all who responded. Yes, it sounds like DIGEST is indeed what I need. 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Joshua Gallant Sent: Wednesday, May 13, 2009 6:14 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I know someone already mentioned it but since there are so many responses trying to do something more difficult I figured I'd throw it out there again. Won't the DIGEST() function do what you're looking for? - Josh -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of IT-Laure Hansen Sent: Tuesday, May 12, 2009 5:17 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Help with encryption Thanks. These seem to only handle symmetrical encryption, not one-way hashing (like MD5), but maybe I am missing something. Still reading...! 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Greer Sent: Tuesday, May 12, 2009 12:43 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Help with encryption
The documentation on DIGEST() (in UniData) is as follows: DIGEST Syntax DIGEST(algorithm, data, dataLoc, result) Description The DIGEST function generates a message digest of supplied data. A message digest is the result of a one-way hash function (digest algorithm) performed on the message. Message digest has the unique properties that alight change in the input results in a significant difference in the resulting digest. Therefore, the probability of two different messages resulting in the same digest (collision) is very unlikely. It is also virtually impossible to reverse to the original message from a digest. Message digest is widely used for digital signatures and other purposes. The desired digest algorithm is specified in algorithm. UniData supports the MD5 (Message Digest 5, 128-bit) and SHA1 (Secure Hash Algorithm 1, 160-bit) algorithms. You specify data and its location are with data and dataLoc, respectively. UniData puts the arrived digest into a dynamic array in result. Since digest is short and has a fixed length, it is always put into a string, and no file option is provided. The result can be in either binary or hex format. Parameters The following table describes each parameter of the syntax. Parameter. Description. algorithm A string containing the digest algorithm name (either bMD5b or bSHA1b). dataData or the name of the file containing the data to be digested. dataLoc 1 - Data in a string 2 - Data in a file result A string to store the digest result. The following table describes the status of each return code. Return Code.Status 0 Success 1 Unsupported digest algorithm 2 The data file cannot be read 3 Message digest cannot be obtained 4 Invalid parametersdata. I can't be certain, but, Rex Gozar supplied a straightforward example of what you appear to be looking for. HTH, Bill __ From: Joshua Gallant jgall...@cbd.com Sent: 5/13/2009 6:14 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Help with encryption I know someone already mentioned it but since there are so many responses trying to do something more difficult I figured I'd throw it out there again. Won't the DIGEST() function do what you're looking for? - Josh -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of IT-Laure Hansen Sent: Tuesday, May 12, 2009 5:17 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Help with encryption Thanks. These seem to only handle symmetrical encryption, not one-way hashing (like MD5), but maybe I am missing something. Still reading...! 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Greer Sent: Tuesday, May 12, 2009 12:43 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users
[U2] Help with encryption
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.orgmailto: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/subscribehttp://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/
Re: [U2] Help with encryption
FUNCTION MD5SUM(TEXT) * Return an MD5 hash * CVS $Revision: 1.2 $ $Date: 2009/04/14 17:13:27 $ ** EQU ALGORITHM$MD5 TO MD5 EQU DATALOC$STRING TO 1 EQU DATALOC$FILE TO 2 RESULT = ERRCODE = DIGEST(ALGORITHM$MD5, TEXT, DATALOC$STRING, RESULT) RESULT = UPCASE(OCONV(RESULT, MX)) RETURN (RESULT) END 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
Thanks. These seem to only handle symmetrical encryption, not one-way hashing (like MD5), but maybe I am missing something. Still reading...! 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Greer Sent: Tuesday, May 12, 2009 12:43 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
Charles, If you have Outlook you have to use the out of office assistant on the tools menu. You can make it so no message goes to the list. Jerry Banker -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com Sent: Tuesday, May 12, 2009 3:38 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Help with encryption Hello, This is to the moderator. I will be going on vacation next week for two weeks and will set my out of office message before I go. How do I stop from sending these messages to the list and how do I reenable the list when I get back. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
Hi Laure, The U2 encryption is symmetrical. I have asked about one-way, but I have been informed that this is not available. We use gpg to provide a level of one-way encryption. It's not the best, but it is the only option we could find. Tom Thomas Whitmore Director of Product Development RATEX Business Solutions, Inc. Web: http://www.ratex.com 2250 Hickory Road, Suite 10 Plymouth Meeting, PA 19462-1047 -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of IT-Laure Hansen Sent: Tuesday, May 12, 2009 5:17 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Help with encryption Thanks. These seem to only handle symmetrical encryption, not one-way hashing (like MD5), but maybe I am missing something. Still reading...! 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 o 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: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Greer Sent: Tuesday, May 12, 2009 12:43 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption I'm only aware of RC5 and some des. See ENCRYPT function in Basic Ref. -Original Message- From: IT-Laure Hansen [mailto:lhan...@redwoodcity.org] Sent: Tuesday, May 12, 2009 2:48 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Help with encryption 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.orgmailto: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/subscribehttp://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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
From: Tom Whitmore We use gpg to provide a level of one-way encryption. It's not the best, but it is the only option we could find. Does Universe or Unidata have a way to link custom functions into the monitor? This would facilitate in-process execution of code directly from BASIC. For example in D3 we can link in MD5 encryption from an external C library and then run it using: success=%md5(valuein,valueout,options) or use common libraries like this: result=%curl(url,page,options) etc... Not many people use this functionality but the benefit is that a new process doesn't need to be created and destroyed on every execution, as is the case with something like this: EXECUTE SH -C gpg :PARAMS: CAPTURING OUT This functionality opens the door to all sorts of possibilities - allowing us to make use to a world full of function libraries when people here are always trying to reinvent the wheel with BASIC. Unfortunately because of geeky words like C, link, and monitor, this topic is hardly ever discussed. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services Visit PickWiki.com! Contribute! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
In Unidata there is a CALLC function -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Tony G Sent: Wednesday, 13 May 2009 10:27 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption From: Tom Whitmore We use gpg to provide a level of one-way encryption. It's not the best, but it is the only option we could find. Does Universe or Unidata have a way to link custom functions into the monitor? This would facilitate in-process execution of code directly from BASIC. For example in D3 we can link in MD5 encryption from an external C library and then run it using: success=%md5(valuein,valueout,options) or use common libraries like this: result=%curl(url,page,options) etc... Not many people use this functionality but the benefit is that a new process doesn't need to be created and destroyed on every execution, as is the case with something like this: EXECUTE SH -C gpg :PARAMS: CAPTURING OUT This functionality opens the door to all sorts of possibilities - allowing us to make use to a world full of function libraries when people here are always trying to reinvent the wheel with BASIC. Unfortunately because of geeky words like C, link, and monitor, this topic is hardly ever discussed. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services Visit PickWiki.com! Contribute! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ 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 To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Help with encryption
We link over 300 C functions that we have written into UniVerse using its GCI. Best regards, Henry Henry P. Unger Hitech Systems, Inc. http://www.hitech.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Tony G Sent: Tuesday, May 12, 2009 5:27 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Help with encryption From: Tom Whitmore We use gpg to provide a level of one-way encryption. It's not the best, but it is the only option we could find. Does Universe or Unidata have a way to link custom functions into the monitor? This would facilitate in-process execution of code directly from BASIC. For example in D3 we can link in MD5 encryption from an external C library and then run it using: success=%md5(valuein,valueout,options) or use common libraries like this: result=%curl(url,page,options) etc... Not many people use this functionality but the benefit is that a new process doesn't need to be created and destroyed on every execution, as is the case with something like this: EXECUTE SH -C gpg :PARAMS: CAPTURING OUT This functionality opens the door to all sorts of possibilities - allowing us to make use to a world full of function libraries when people here are always trying to reinvent the wheel with BASIC. Unfortunately because of geeky words like C, link, and monitor, this topic is hardly ever discussed. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services Visit PickWiki.com! Contribute! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/