What are the important functions of hash for Altcoin?