Sent: Friday, August 25, 2006 3:12 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Encrypt issue 8088
Symeon, others,
I tested every 128+ bit cipher available with Encrypt and here are the
results:
All the ciphers work with encoding but require the workaround (remove
extra LF
Here is my standard crypt sub
FUNCTION AD.CRYPT(Word,key,iv)
* Function to crypt something i.e. a password
* a2c limited, Oct2005
Crypt=Word
Err='';result='';resLoc=1;salt=''
algorithm=rc2-cbc
Err=ENCRYPT(algorithm,2,Word,1,key,1,1,salt,iv,result,resLoc)
IF NOT(Err) THEN
: Friday, August 25, 2006 1:06 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Encrypt issue 8088
Here is my standard crypt sub
FUNCTION AD.CRYPT(Word,key,iv)
* Function to crypt something i.e. a password
* a2c limited, Oct2005
Crypt=Word
Err='';result='';resLoc=1;salt=''
algorithm
David A. Green wrote:
Why do programmers use result[LEN(result),1]? Doesn't result[1] do the same
thing but easier, quicker, and more readable?
snip
variable[1] to reference the last byte of variable is a relatively
recent addition to Universe. Where relatively refers to the lifeline
of the
, August 25, 2006 10:07 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Encrypt issue 8088
Why do programmers use result[LEN(result),1]? Doesn't result[1] do the
same thing but easier, quicker, and more readable?
Thanks,
David A. Green
DAG Consulting
www.dagconsulting.com
-Original Message
Breen
Sent: Friday, August 25, 2006 1:06 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Encrypt issue 8088
Here is my standard crypt sub
FUNCTION AD.CRYPT(Word,key,iv)
* Function to crypt something i.e. a password
* a2c limited, Oct2005
Crypt=Word
Err='';result='';resLoc=1;salt
Hi,
Can anyone share a code fragment for removing the extra Char(10)
characters from the Encrypt function.
I've studied the IBM articles (2) on U2 Encryption, and read the
previous posts on this list. I've tried to remove the extra LF with
less than sterling results. I can't find the char(10),
Message-
From: [EMAIL PROTECTED] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of Baker Hughes
Sent: Thursday, August 24, 2006 9:35 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Encrypt issue 8088
Hi,
Can anyone share a code fragment for removing the extra Char(10)
characters
:[EMAIL PROTECTED] On Behalf Of george r smith
Sent: Thursday, August 24, 2006 11:22 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Encrypt issue 8088
Baker,
I don't know if you are trying to do this via a Unibasic subroutine call
or by using EXECUTE. I could not use the Unibasic because
Wouldn't change be a little easier?
RESULT = CHANGE(RESULT,CHAR(10), '')
hth,
Allen
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rajesh Menon
Sent: Thursday, August 24, 2006 12:22
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Encrypt issue 8088
PROTECTED] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of Baker Hughes
Sent: Thursday, August 24, 2006 9:35 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Encrypt issue 8088
Hi,
Can anyone share a code fragment for removing the extra Char(10)
characters from the Encrypt function.
I've
11 matches
Mail list logo