jQuery in Action, 2nd edition*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
wood burning stoves
 
subject: Encrypt small image file and transfer it to server?