on 07-26-2007 8:52 AM
Hello,
I have scenario File to File (without repository).
I looking for the way to encrypt the zip files.
Regards
Elad
To create encrypted zip files, you won't be able to use the standard zip module.
Simply because encryption isn't part of any zip specification.
The encryption is specific to the zip softwares and each one may have their way of encryption. For example, Winzip uses, afaik, AES encryption (128 or 256 bits).
As said, if you do want to use encryption in your zip files, the standard module won't be enough. You'll need to develop your own zip module.
You can base your development on this blog, done by Alessandro Guarnieri: /people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
Basically, you could use java.util.zip package for the compression and javax.crypto package for AES encryption. But you may want to go for "ready-to-use" classes also. Check this thread: /thread/619940 [original link is broken]
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using any encryption utility ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
k
Is there a Windows interface for gzip?
PowerArchiver 6.1, <b>7-zip</b> and Winzip include the gzip compression code and can decompress .gz and tar.gz files. Win-GZ can compress and decompress files in gzip format
Now take a look at michals blog -> CASE 2 he has used 7-ZIP
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg5814
Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*
Linux or Unix commands for gzip
http://linux.about.com/od/commands/l/blcmdl1_gzip.htm
Invoking gzip
Hello,
I copy part from gzip site:
Does gzip support encryption?
No. Simple encryption algorithms such as that of PKZIP can be broken. And adding strong encryption such as that of PGP to gzip would not make much sense because that would duplicate the functionality of those encryption programs. PGP already incorporates the gzip compression code, so use PGP if you need compression plus strong encryption.
Elad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
K there are 2 ways to create create Zip files
1) Use PayloadZipBeanModule follow the blog by stefen
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/frameset.htm
2) Other one using command line parameters
Michals Blog is there you can search.
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.