This is what I got for algorithm description parameter :
D ALGD0200InAES256ECBMode...
D DS qualified
D algorithm 10i 0 inz(@AESAlgorithm)
D algorithmBlockLen...
D 10i 0 inz(32)
D mode 1 inz(@ECBMode)
D padOption 1 inz('0')
D padChar 1 inz(x'00')
D reserved 1 inz(x'00')
D MACLen 10i 0 inz(0)
D keySize 10i 0 inz(0)
D inzVector 32 inz(*allx'00')
*------------------------------------------------------------------
* const
*------------------------------------------------------------------
D @AESAlgorithm C const(22)
D @ECBMode C const('0')
the complete code is in
http://code.midrange.com/f309a463e1.html.
"Flensburg, Carsten" <Flensburg@xxxxxxxxxx> wrote in message
news:mailman.33141.1276709097.2580.rpg400-l@xxxxxxxxxxxxxxx
Hello Lim,
What values do you specify for the algorithm description parameters?
-Carsten
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of hockchai Lim
Sent: 16. juni 2010 17:51
To: rpg400-l@xxxxxxxxxxxx
Subject: Qc3DecryptData gives me a different result
from
http://www.unsw.adfa.edu.au/~lpb/src/AEScalc/AEScalc.html
I used the Input Data: 59a10915306238b011ba322354c608e6 and AES key
:8181818181818181818181818181818181818181818181818181818181818181.
On the
http://www.unsw.adfa.edu.au/~lpb/src/AEScalc/AEScalc.html site
I get the result of (which is what I expected):
e3c5e2e3404040404040404040404040
But with Qc3DecryptData, I get the result of :
343581ED077DA7C156FB59CC1075D7C0B79BD2778372388ECDF908D54124870E
This communication is intended only for use by the addressee.It may contain
confidential or privilegedinformation.
If you receive this communication unintentionally, please inform us
immediately and delete this e-mail and any attachments.
Warning: Although we have taken reasonable precautions to ensure no viruses
are present in this email, we cannot accept
responsibility for any loss or damage arising from the use of this email
orattachments.
As an Amazon Associate we earn from qualifying purchases.