Use the Node.js `cypto` hash interface.

Closes #221.