How to encrypt and decrypt a file in datastage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 32
- Joined: Tue Mar 09, 2010 5:56 am
- Location: Bangalore
How to encrypt and decrypt a file in datastage
I need to decrypt some files in datastage which are coming as encrypted from the source system and also after generation of new files and sending them to other location I need to encrypt them again and then need to send. Can anyone help me how can I achieve it in datastage in windows environment.
Thanks & Regards,
Partha
Partha
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
Partha, you said your input from source system is encrypted. If you want to decrypt them, you need the encryption/decryption software(/code) used by the source system. Once you have access to it, you can try to execute the same from DataStage to decrypt and encrypt whenever needed.
For e.g., if the encryption/decryption code is java based, then you can execute (call) the same in DataStage using Java stages and achieve what you want.
For e.g., if the encryption/decryption code is java based, then you can execute (call) the same in DataStage using Java stages and achieve what you want.
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Premium Member
- Posts: 32
- Joined: Tue Mar 09, 2010 5:56 am
- Location: Bangalore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Of course we can! The answer is "with the same software".pandeesh wrote:Partha,
Please tell, how the source file has been encrypted.
Using which alogorithm ?
Unless that's revealed, we can't proceed for decryption.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 32
- Joined: Tue Mar 09, 2010 5:56 am
- Location: Bangalore
The requirement is like this. We shall receive files from different source systems as encrypted (key protected). It can be multiple files combined in a single encrypted folder or individually encrypted file. We need to decrypt them (file and folder both in our environment through datastage and then do all kind of transformation to generate the output file.
Once we generate the output file we need to encrypt them before sending them to other location. So how can we implement the same in datastage.
Once we generate the output file we need to encrypt them before sending them to other location. So how can we implement the same in datastage.
Thanks & Regards,
Partha
Partha
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You have many possible options but still only you have access to the information that is key to answering your question, such as the name of the encryption software and the exe file you would call from DataStage to use it.
Choose a job you love, and you will never have to work a day in your life. - Confucius