2
votes
$\begingroup$

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.

$\endgroup$

locked by e-sushi Mar 6 '17 at 7:01

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. See the help center for guidance on writing a good question.

Read more about locked posts here.

  • 1
    $\begingroup$ In general, most algorithms can be implemented on any kind of computer, it is just more or less complicated. Impossible it is only when they use more memory (or other resources) than available. $\endgroup$ – Paŭlo Ebermann Mar 6 '12 at 19:17
2
votes
$\begingroup$

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...

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.