Subscribe to the Ardan Labs Insider

You’ll get our FREE Video Series & special offers on upcoming training events along with notifications on our latest blog posts.

Included in your subscription
  • Access to our free video previews
  • Updates on our latest blog posts
  • Discounts on upcoming events

Valid email required.

Submit failed. Try again or message us directly at hello@ardanlabs.com.

Thank You for Subscribing

Check your email for confirmation.

Ultimate Go: Advanced Engineering Episode 13

Author image

Cheikh Seck

Introduction

In episode 12, Bill laid out his strategy to handle data hashing on his blockchain. The first step he took was to create a package to handle the cryptographical aspects of his blockchain. After that, he wrote a hash function that met the requirements outlined in his strategy. This function took transaction data as a parameter and returned a hexadecimal representation of the hash. To implement this function, Bill imported packages from the Go standard library and Ethereum API.

In this video, Bill will begin to define the components required to generate a digital signature of his blockchain’s transactions. He begins by discussing the concept of adding a salt value to a hash. Bill does this to explain how Bitcoin and Enthereum also use a salt to uniquely stamp transactions being sent to the node for processing. For his blockchain, Bill defined a function called stamp which will add the salt to his transaction data that is sent from the client to the node. Watch and learn how to stamp a transaction, implement the keccak256 algorithm in Go, and the security issues mitigated by stamping transactions.

Things you will learn in this video

  • What a salt is and how to embed it into a hash.
  • How to generate a hash with the keccak256 algorithm in Go.
  • The role of a stamp in a digital signature

Video

Go Training

We have taught Go to thousands of developers all around the world since 2014. There is no other company that has been doing it longer and our material has proven to help jump start developers 6 to 12 months ahead of their knowledge of Go. We know what knowledge developers need in order to be productive and efficient when writing software in Go.

Our classes are perfect for both experienced and beginning engineers. We start every class from the beginning and get very detailed about the internals, mechanics, specification, guidelines, best practices and design philosophies. We cover a lot about "if performance matters" with a focus on mechanical sympathy, data oriented design, decoupling and writing production software.

Capital One
Cisco
Visa
Teradata
Red Ventures

Interested in Ultimate Go Corporate Training and special pricing?

Let’s Talk Corporate Training!

Join Our Online
Education Program

Our courses have been designed from training over 30,000 engineers since 2013, and they go beyond just being a language course. Our goal is to challenge every student to think about what they are doing and why.