Tuesday, August 14, 2007

ARC4 tutorials posted

Long overdue, I have finally completed the tutorials for ARC4 ("Alleged RC4") cryptography for use with RF wireless transmissions via the nRF24L01. Now you can secure the data that you're sending through the air in a similar format to WEP and WPA security protocols. I have created implementations in C for PIC and ARM architecture (PIC18F452 and LPC2148, respectively) just like all of the other tutorials. Now you're in the big leagues!

Check out the links to the zip files here: LPC2148 and PIC18F452.

Labels: , , , ,

3 Comments:

At November 21, 2007 at 3:57 AM , Blogger Nathan said...

This is pretty cool.

I've heard of RC4 before, but your tutorial inspired me to learn more. In doing so, I have decided to learn as much as I can about cryptography; it's way interesting! Wikipedia has tons of information about it, except it's all kind of scrambled about.

After learning a bit more, I wonder how hard it would be to beef up the RC4 implementation to something similar to what WPA and WPA2 do (main, TKIP from what I read).

Although, this may not be necessary as the nRF24L01 seems to have an embedded AES coprocessor, impressive! If the price is right, it seems like a better alternative, although coding is always loads of fun, =)!

Keep up the great tutorials, they're fun to read!

 
At November 21, 2007 at 4:03 AM , Blogger Nathan said...

the nRF24L01 seems to have an embedded AES coprocessor

Oops! I meant the nRF24LU1!

 
At January 12, 2008 at 4:12 PM , Blogger brennen said...

Unfortunately, I'm no cryptography expert, either. I don't know how hard it would be to beef up RC4 per se, but you should probably read up on WPA and WPA2 to see how hard they are to implement.

You found one of the great advantages of the nRF24LU1 - hardware encryption. This is great because it offloads the need for a software encryption algorithm, which can often be pretty processor-intensive.

Thanks for your complements!

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home