Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Cybersecurity with Blockchain.

You're reading from  Hands-On Cybersecurity with Blockchain.

Product type Book
Published in Jun 2018
Publisher
ISBN-13 9781788990189
Pages 236 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Rajneesh Gupta Rajneesh Gupta
Profile icon Rajneesh Gupta

Table of Contents (17) Chapters

Title Page
About Packt
Contributors
Preface
1. Cyber Threat Landscape and Security Challenges 2. Security Must Evolve 3. Introducing Blockchain and Ethereum 4. Hyperledger – Blockchain for Businesses 5. Blockchain on the CIA Security Triad 6. Deploying PKI-Based Identity with Blockchain 7. Two-Factor Authentication with Blockchain 8. Blockchain-Based DNS Security Platform 9. Deploying Blockchain-Based DDoS Protection 10. Facts about Blockchain and Cyber Security 1. Assessment 2. Other Books You May Enjoy Index

Lab


To turn up the entire project, we will have to deploy the sub-component of this project. The source has been taken from GitHub, which can be found at the following link: https://github.com/hoxxep/Ethereum-2FA.

This has the following files in it:

The files in the preceding screenshot are explained as follows:

  • contracts: This folder includes our smart contract, TwoFactorAuth.sol
  • migrations: This folder consists of migration files to deploy the contract to the blockchain
  • test: This folder consists of server.js, which is responsible for event authentication in our contract
  • node_modules: This folder includes all the libraries
  • truffle.js: This configuration file consists of a set of configurations to connect to the blockchain
  • package.json: This is where we specify a configuration of our project, such as name and scripts

Components

The following are the three core components of this project, shown in the following diagram:

  • A blockchain network (which we will develop with the Ganache CLI)
  • A smart contract...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}