In my app I’ve used AES algorithm for WLAN communications, but now I’m transferring data through bluetooth I would like to get some security. The problem is that AES is too much “heavy” because it gives me blocks of more than 100 bytes – when I’m transferring less than 10 bytes – I would like to use something lighter, if it’s possible.
Anyone knows a better solution?
Use AES with 128-bit blocks. That’s 16 bytes. Initializing for encryption goes like this:
RC4 has known weaknesses.