Why do you need to encode the data? Anybody can capture and replay them and if they are remote control codes, whether encoded or not, the replay codes will do the same thing as the originals. Security requires rolling codes that change with each transmission so replays are ineffectual. Microchip, Holtek and others sell rolling code encoder/decoder chips for this purpose.
- http://auto.howstuffworks.com/remote-entry2.htm
http://en.wikipedia.org/wiki/KeeLoq
http://www.holtek.com/english/tech/a...a0121ev110.pdf
In fact, the chip you are using has a Keeloq Compatible Cryptographic Module. Take your banker along when you discuss licensing.
Bookmarks