Explained: The technology behind bitcoin and blockchain