Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

gopi gakkam

Greenhorn
+ Follow
since Jul 30, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gopi gakkam

I want to same type of code please help me,
how did you generate AES 128 encryption key dynamically which supports java and C/C++?

thanks,
Gopal
14 years ago
i am calling createTarGzArchive and paasing list contails 4 XML files path. I have written below method for creating TarGZ byte array.


this method retunr successfully byte array.
After that i am doing Encryption here i am passing that byte array to encryptBundle(byte[] tarGzBytes) method.



after that i am getting Encrypted TarGz byte array put into session.

is above code right or any thing needs to be done here?

Now i want to download that tarGz from jsp. How should i download tarGz file from jsp help me any one on this?
Please provide sample code for this.


Thanks,
Gopal



[BSouther: Added UBB CODE tags]
[ July 31, 2007: Message edited by: Ben Souther ]
14 years ago
JSP
I want to sample code for creation of tarGZ file using AES 128 bit Encryption/Decryption and using "com.ibm.crypto.provider" this package.

Can any one explin Key classes are below:
AESCipher
AESKeyFactory
AESKeyGenerator
AESKeySpec

Thanks,
Gopal Jakkam
14 years ago
Hi,

i want to sample code for Encryption/Decryption of TarGz file use AES 128 bit and using "com.ibm.crypto.provider" package.

Thanks,
Gopal
14 years ago