cryptohash wasn't used.
Refactoring.