Decentralization Application For Secure Message
Decentralization Application For Secure Message
MESSAGE
Blockchain Basics
-----------------
Blockchain Technology
- In simplest terms, blockchain is a mechanism for storing digital data.
- The data can literally be anything.
- The data can even be files, it doesn't matter.
- In the case of Bitcoin, it is the transactions (transfers of Bitcoin from one
account to another).
- The data is stored in the form of blocks, which are chained together using
hashes.
- Storing data in BLOCKs + using hashes to CHAIN them together =
blockchain
Public blockchain
- A public blockchain network is completely decentralized and open to the
public.
- No one entity has control over the network and they are secure in that data
cannot be changed once validated on the blockchain.
- Anyone can join and participate.
- Examples: Bitcoin, Ethereum
Private blockchain
- A private blockchain network is primarily used by businesses who need
greater privacy, security, and speed of transactions.
- Participants need an invitation to join.
- They operate quite similarly to public blockchains but have access controls
that limit who can participate in the network.
- It operates like modern centralized database systems that restrict access to
certain users.
- One or more entities control the network.
- Causes users to still have to rely on third-parties to transact.
- Example: Ripple, Hyperledger
Development
-----------
1. Store transactions into blocks
- I will be storing the data in JSON, a widely-used format.
- The generic term "data" is often used interchangeably with the term
"transactions" on the Internet.
- The transactions in the application are packed into blocks.
- A block can contain one or many transactions.
- The blocks containing the transactions are generated frequently and added to
the blockchain.
- Each block will have a unique ID, since there can be multiple blocks.