Jul 132011
 

Way back in 2007 I I had to implement an encryption technique for PIC microcontroller based communication link via RS232.

After some tests I found out Alexander Pukall’s PC1 encryption algorithm works with almost no modifications. The attached source code can be used for PIC18 microcontrollers. The code can be compiled with HI-TECH PIC18 compiler or with any other C compiler with little modifications. Here when storing large variables in pic microcontroller ram the variables are defined to be stored in different memory banks.

Download: PIC18 Encryption Example Source code

  2 Responses to “Simple Encryption Test with PIC microcontrollers”

  1. very good. I’ll try to try with another kind of compiler and micro’s

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>