crypto/hash: impl Writer for Hasher to allow use of Reader-Writer convenience functions

It might make sense to get rid of update() entirely and just implement write() directly, but for now I've kept it.