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). data Data 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.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/ ------- 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/