Secondly, the choice of consensus protocol directly affects the security of a blockchain. Depending on how new blocks are created (e.g. through mining), this process can inherently include measures which protect the system from malicious attacks. Thirdly, a protocol’s underlying cryptographic elements play a decisive role in determining the security standard for a given blockchain.