Clean up.
Move to using cryptohash-cryptoapi