Cryptographic algorithm for Kadena (KDA) mining.