Videos

Published on June 8th, 2014 📆 | 8491 Views ⚑

0

Bitcoin 101 – Elliptic Curve Cryptography – Part 4 – Generating the Public Key (in Python)


iSpeech


Welcome to part four in our series on Elliptic Curve Cryptography. I this episode we dive into the development of the public key. In just 44 lines of code, with no special functions or imports, we produce the elliptic curve public key for use in Bitcoin. Better still, we walk you through it line by line, constant by constant. Nothing makes the process clearer and easier to understand than seeing it in straight forward code. If you've been wondering about the secp256k1 (arguably the most important piece of code in Bitcoin), well then this is the video for you.

This is part 4 of our upcoming series on Elliptic Curves. Because of such strong requests, even though this is part 4, it is the first one we are releasing. In the next few weeks we will release the rest of the series. Enjoy.

Here's the link to our Python code (Python 2.7.6):
https://github.com/wobine/blackboard101/blob/master/EllipticCurvesPart4-PrivateKeyToPublicKey.py

Here's the private key and the link to the public address that we use. Do you know why it is famous?
Private Key : A0DC65FFCA799873CBEA0AC274015B9526505DAAAED385155425F7337704883E
Public Address on Blockchain.info
https://blockchain.info/address/1JryTePceSiWVpoNBU8SbwiT7J4ghzijzW





Here's the private key we use at the end:
42F615A574E9CEB29E1D5BD0FDE55553775A6AF0663D569D0A2E45902E4339DB
Public Address on Blockchain.info
https://blockchain.info/address/16iTdS1yJhQ6NNQRJqsW9BF5UfgWwUsbF

Welcome to WBN's Bitcoin 101 Blackboard Series -- a full beginner to expert course in bitcoin. Please like, subscribe, comment or even drop a little jangly in our bitcoin tip jar 1javsf8GNsudLaDue3dXkKzjtGM8NagQe. Thanks, WBN


2014-06-08 14:13:11

source

Tagged with:



Comments are closed.