intel / intel/isa-l_crypto

Differences between MD5 and SHA1 hash digests Endianness

Open
#57 4 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
C
Stars
301
Forks
91
PR merge metrics
No merged PRs in 30d

Description

As part of using both MD5 and SHA1 hashes in our project it seems that there is a difference in the Endianness between them: it seems that digest words for SHA1 are big-endian, while MD5 ones are little-endian.
Is that really the case? and if so, why? as we want to use the same code for both it caused it to fail constantly for SHA1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.