Add support for node.js crypto.Hash style interface.