common_crypto.c
1.04 KB
-
hash: hash functions operate on byte arrays not git_oids · 31ecaca2
Separate the concerns of the hash functions from the git_oid functions. The git_oid structure will need to understand either SHA1 or SHA256; the hash functions should only deal with the appropriate one of these.
Edward Thomson committed