2

I need to implement the HASH algorithm (MD5 & SHA-1) on an 8 bit MCU. I hear it can only be implemented on 32bit and sometimes 16bits MCU. Is that possible? I will appreciate link where possible. A program in C language most preferred.

Ilmari Karonen
  • 46,700
  • 5
  • 112
  • 189
Paul A.
  • 121
  • 1
  • 2

1 Answers1

2

Someone answered it in another "exchange" site: https://electronics.stackexchange.com/questions/1830/md5-implementation-for-microcontroller

There you have links to C implementations, etc.

And yes, it's possible to implement MD5 and SHA1 in 8bits, you'll just have to worki with 16 (or 32) bits operations, not that hard...

woliveirajr
  • 1,152
  • 13
  • 17