Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Quick Dive Into Delphi And The BlockChain, Cryptography, BitCoin, and More

Cryptography is the study of secure communications techniques that allow only the sender and intended recipient of a message to view its contents. Public Key Encryption or Asymmetric cryptography is widely used cryptography which use different keys for encryption and decryption.

CryptoCurrency: The Idea predates BitCoin as electronic cash, an alternative virtual, eletronic currency, that is secured by cryptography, which makes it nearly impossible to counterfeit or double-spend.

BitCoin: Designed by pseudonymous Satoshi Nakamoto. Originally described in 2008 paper “bitcoin: A peer to Peer Eectronic cash system” and released an open source in 2009.

Mining: Is a distributed consensus system that is used to confirm pending transactions by including them in the block chain. Mining is the mechanism that allows the blockchain to be a decentralized security. It secures the bitcoin system and enable a system without a central authority. 

It is the process of finding a nonce (number used once – unique number) that generates a SHA-256 hash meeting the current difficulty target. Every 2016 blocks 14 days at 10 min/block, the difficulty target is adjusted based on network’s recent performance.

Mining Proof of Work : Miners validate new transactions and record them on the global ledger ( blockchain ). On average, a block ( the structure containing transations ) is mined every 10 minutes. Miners compete to solve a difficult mathematical problem based on a cryptographic hash algorithm. The solution found is called the Proof-Of-Work

Blockchain : When there is no central ledger, how do you know which ledger is true ? Without consensus for the ledger there is no way to prevent someone from repeating a transaction mutliple times(Spending more than once) ? Blockchain solves this as each block contains the hash of the previous block. Once a new block is added to the chain, it validates all the previous blocks. The First block in the block chain is genesis block.

Ethereum: An open source, public, blockchain-based distributed computing platform featuring smart contracts.

BitCoin & Ethereum Price APIs :

PascalCoin: Cryptocurrecy developed with FreePascal.

Know more about possible alternatives to power-hungry cryptocurrencies and follow up on the next big crypto updates in this blockchain article.

Watch this video Delphi and the Blockchain here. It also demonstrates the sample block chain chat application.

Exit mobile version