× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Bruce,

Thanks for your support, below my answer


1. Are you using binary when FTPing the file?
No but in any case the issue is present also when i decrypt the text "HELLO BY ME" and compare it

2. How are you opening the file?
3. What is the CCSID of the system providing the decryption key?
It's a unix system
4. When you say you "convert string from ebcdic to ascii" are you referring
to the decryption key?
No to the text "HELLO BY ME"
5. How do you detect that the decryption failed? Using debug of the text or
by examining an output file?

Debug and compare the value with the result of
http://rc4.online-domain-tools.com/


Basilio MERLINO
Phone: +39-0690808577
Mobile: +39-3484152040



Il 01/02/2019 14:50, Bruce Vining ha scritto:

First a few questions:

1. Are you using binary when FTPing the file?
2. How are you opening the file?
3. What is the CCSID of the system providing the decryption key?
4. When you say you "convert string from ebcdic to ascii" are you referring
to the decryption key?
5. How do you detect that the decryption failed? Using debug of the text or
by examining an output file?

Bruce

On Fri, Feb 1, 2019 at 7:29 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx><mailto:jeffersonvaughn@xxxxxxxxx> wrote:



Curious to see suggestions on this one.
I have nothing, sorry.

But just curious why the data wasn’t sftp’d to you instead? But I’m sure
I just don’t see the whole picture of what you are working on.

Jay




On Feb 1, 2019, at 8:18 AM, Merlino, Basilio (NissanContractor) <


b.merlino-extern@xxxxxxxxx<mailto:b.merlino-extern@xxxxxxxxx>> wrote:




Dear All,

I need to decrypt some text related data coming from a supplier, i


receive the file in an ftp folder read text and decrypt it.



In order to decrypt the information i use Qc3DecryptData (AES OR RC4


alghoritym), unforntunately i encoured in the following problem



First of all let's me say that i was not able to decrypt the data coming


from vendor so i try to understand where the problem was



First of all i have written a program that encrypt and decrypt the


phrase "HELLO BY ME" with key "key encryption" and it's work fine.



I compare the result with the one coming from the following url

http://rc4.online-domain-tools.com/

and the two values doesn't match.

So my first assumption was that there is a difference beetwen ebcdic and


ascii transcodification so i try to



- convert string from ebcdic to ascii

- run encryption

but again the two values doesn't match

Anyone can direct me ? any idea ?


Thanks to All


Basilio












***********************************************************************************************************


CONFIDENTIALITY NOTICE

This message is for the named person's use only. It may contain


confidential, proprietary or legally privileged information.



If you receive this message in error, please immediately delete it and


all copies of it from your system, destroy any hard copies of it and notify
us by email to email.security@xxxxxxxxxxxxxxxxx<mailto:email.security@xxxxxxxxxxxxxxxxx> with a copy of this
message. You must not, directly or indirectly, use, disclose, distribute,
print or copy any part of this message if you are not the intended
recipient. NISSAN EUROPE and any of its subsidiaries each reserves the
right to monitor all e-mail communications through its networks.



NISSAN EUROPE is neither liable for the proper, complete transmission of


the information contained in this communication nor any delay in its
receipt. This email was scanned for the presence of computer viruses. In
the unfortunate event of infection NISSAN EUROPE does not accept liability.



Any views expressed in this message are those of the individual sender,


except where the message states otherwise and the sender is authorised to
state them.






***********************************************************************************************************


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)


mailing list


To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related


questions.



Help support midrange.com by shopping at amazon.com with our affiliate


link: https://amazon.midrange.com
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com







***********************************************************************************************************
CONFIDENTIALITY NOTICE

This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information.

If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to email.security@xxxxxxxxxxxxxxxxx with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. NISSAN EUROPE and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks.

NISSAN EUROPE is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection NISSAN EUROPE does not accept liability.

Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them.

***********************************************************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.