Encryption questions

Over the last few days I have been trying to expand my programming knowledge.

Today I decided to do some networking with a simple datagram socket. Data sent over is protected with some basic encryption using [icode]Cipher.getInstance(“AES/ECB/PKCS5Padding”)[/icode]. At the moment I have a common 16-character key.

1. Should the encryption be done with a single key, or should I send a randomly generated unique key along with the data?

I think there may be more questions, but this was my first question :stuck_out_tongue: