Please take with a pinch of salt since I'm not an expert.

> BTW, while I'm at it, I was also thinking about adding basic
implementations of Adler-32 and CRC32.

CRC-32 and Adler-32 are not digest functions but checksum functions, aren't
they?

> * Can all digest functions implement Digest?

Probably.

> * Is it appropriate for all digests to live in extra::crypto? Not all
hashes are crypto hashes...

AFAIK usually (message) digests means hash values of *cryptographic* hash
functions.
Non-cryptographic hash functions could be in std::hash, I think.

-- 
Masanori Ogino <[email protected]>
http://twitter.com/omasanori
http://gplus.to/omasanori
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to