Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Most littleweight Cryptography for PIC16F88

Status
Not open for further replies.

gorkin

Advanced Member level 1
Joined
Feb 27, 2002
Messages
422
Helped
13
Reputation
26
Reaction score
5
Trophy points
1,298
Location
brazil
Activity points
3,375
Hello brothers!
Anyone know what the most littleweight cryptography method (algorithm)? Medium security are desire, but my microcontroller (PIC16F88) not have RAM or Flash resources...

Thanks in advance, Gorkin.
 

It all depends on what needs to be done.

Can you specify what you want to do please?

best regards
 

I'm guessing you want to send a serial stream and it look like garbage. This is just a suggestion and doesn't offer much in the way of security but you could just define a map for each byte to another byte by a mathematical operation.

For example you could:

xor with some constant
swap a few bits

This wouldn't provide much protection, but people couldn't read the ascii stream.

People could however, watch the stream and observe frequencies of certain bytes and guess your map easily. If they used brute force, there aren't that many maps possible on only 8 bits.

It would be very easy to code.
 

i think the most lightweight with good enough security is TEA and its variants. **broken link removed** . It's actually very easy to implement in C on a 8bit micro.
 

I need send 64 or 128 bytes package throught GPRS TCP conexion...I read about the TEA cyphering...very nice, I will write now my C code and next I will re-write it in assembly for my PIC16F88 microcontroller.

Thanks brothers!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top