This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Encrypt small image file and transfer it to server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Encrypt small image file and transfer it to server?" Watch "Encrypt small image file and transfer it to server?" New topic
Author

Encrypt small image file and transfer it to server?

Alex Joyce
Greenhorn

Joined: Feb 17, 2005
Posts: 13
Hi....I am very new to J2ME, Could someone help me please. I would like to know, is it possible to encrypt a small image file on a MIDP 2.0 device, send it to a server and then decrypt it on the server? �or even just retrieve it again and decrypt it on the device?... I am studying the bouncycastle API�s and I am beginning to build my understanding but would really appreciate if someone could tell me if this is possible�....I dont expect to be told how to do this in detail, just if it is something that is possible, I am familiar with Java SE but new to J2ME..... thanks in advance to anyone who can help me�..

[ February 17, 2005: Message edited by: Alex Joyce ]
[ February 17, 2005: Message edited by: Alex Joyce ]
Kirk Bateman
Greenhorn

Joined: Oct 13, 2004
Posts: 9
So long as the image is small enough that you dont run out of heap space, I can't see any reason that it wouldnt work.. its just a matter of encrypt/decrypting a byte array.

Cheers

Kirk
Alex Joyce
Greenhorn

Joined: Feb 17, 2005
Posts: 13
Thanks Kirk, Much appreciated...I am on the way to sorting it.....nice one
 
Don't get me started about those stupid light bulbs.
 
subject: Encrypt small image file and transfer it to server?
 
Similar Threads
Encrypt in Java / Decrypt in C++
Download .png form server...
RSA 1024 Encryption in java, Decryption in dotnet
Can someone answer this?
Crystal Reports XI integration