In crypto mining, algorithms are functions that enable the process of mining (getting) coins. There are several algorithms, each with unique features tailored to the coins they are used with. The most popular ones are HA-256 (the Bitcoin algorithm) Ethash (the Ethereum algorithm), Scrypt (the most complete cryptographic function), X11 (the Dash algorithm), and Equihash (an algorithm based on a complex mathematical problem).
In the blockchain, a consensus algorithm is a method for getting disparate processes or systems to agree on a single data value. The purpose of these algorithms is to ensure dependability in a network with numerous users or nodes. The three primary consensus algorithms used in blockchain networks for reaching consensus in a distributed fashion are Proof of Work (POW), Proof of Stake (POS), and Practical Byzantine Fault Tolerance (PBFT).