What The Actual (Fuck) is Blockchain?

What The Actual (Fuck) is Blockchain?

The idea for blockchain came from a now germinal paper written in 2008 by the man known as Satoshi Nakamoto, what his or their real name is, no-one knows which just adds to the mystery and intrigue around the whole community.

Nakamoto referred to “blocks” and “chains” which has evolved into the now more common usage of blockchain. A blockchain is quite literally a chain of blocks tied together. A block as a single entity or data structure is made up of a numerical identifier starting from block number 1, a nonce which is an abbreviation for the term Number Only used oNCE, data such as, the amount being sent, the address being sent from and to, a signature, a time stamp and transactions fees.

Diagram of three blocks representing the blockchain

What the (bloody hell) is a hash?

A hash is a unique value created by using an algorithm (called a function) or mathematical equation to encrypt a value, such as the data on the blockchain or something as simple as a name, Brigitte.

The hashing algorithm that blockchain uses at present is SHA256 (Secure Hash Algorithm). An example of my name and the hash value associated with it is:

9d5834852c8930397fcbf1bf20b8f5f3baa4f57f4711d987cae30f617d098cfb

It’s a one-way hash which means that this hash will always represent my name when it’s hashed using SHA-256. You can check out the hash of your name by using any one of a number of SHA-256 hash generators online. At present there is no way to reverse a SHA-256 hash to get its actual inputted value, in this case Brigitte, but if you know what the input was, that’s how you can see what the outputted hash equates to.

Tell me more

Blockchain in practice is like using a torrent to download a show that’s about to be released on the other side of the world but not in your home country. It’s a peer to peer or device to device based version of sharing stuff without having to involve a bank or a government or a nation-state (viva la revolution) which is why it’s being hailed as the next version of the internet; internet 3.0 for those counting. It relies on what is called a distributed ledger or a series of blocks, as shown in the diagram above, that distribute a copy of every block so there is only one version of truth and every device or node on the network being used has it. It’s designed to be fast, goodbye to waiting three days for the bank to invest your money elsewhere while you wait to receive it, transparent in that you can look up any transaction on sites like Etherscan for Ethereum , and relatively secure although there have been plenty of high profile cases of coins being stolen because of dodgy code.

What do you use blockchain for?

The blockchain can be used for transferring digital currencies like Bitcoin, Ethereum or Cardano which dominates the news cycle, for utilising so-called smart contracts that execute transactions like a sale of a house without the need for a real estate agent (omfg – yes please), to identity documentation, such those given to individuals in this study in Zug, Switzerland, or as a way to provide refugees with a credit card linked to their digital identity as in this pilot program in Finland, or to provide Syrian refugees with food vouchers in this pilot run by the United Nations World Food Program.

I made the blockchain diagram above which I created for this article into an NFT (Non Fungible Token) which you can purchase here for the pricey sum of 57.50 USD or 0.019 Ethereum at Mintable.io. This was the minimum price I could set to cover the required gas fees and platform minimum price. Stay tuned for the next blog in this series called What The Actual (Fuck) is an NFT.

Burp: A Quick Installation Guide

In order to execute a SQL injection, for example, we need to see what’s going on in the code behind the interface when we enter our username and password and send it over the internet or from the login page to the database.     To do that we need to use...

Penetrating Real-Time Threat Behaviour: Cyber Analytics and the Pen Tester

It’s the wild, wild, west out there in cyberspace, except the feral camels[1] that once roamed Texas are the hackers, and they’re roaming beyond borders and through firewalls on the daily. At present, cyber threat intelligence gathering is a mish-mash of intrusion...