Black-Scholes formula… maybe not as important and well-known as compounding interest-rate but still the most famous formula among options traders. Here are the formulas that you will find in financial books.
[Read More]Generate IOTA address
IOTA
Generate IOTA address using plain old Python, starting with random seed, derive private key, and finally the checksum and address.
[Read More]Generate Ethereum Address
Ethereum
Generate Ethereum address from private key using plain old Python3, Elliptic Curve multiplication from SageMath and of course Keccak hash function.
[Read More]Generate Monero address
Monero
Generate Monero address from the root private key using plain old Python, Edwards curve's ed25519 implementation, Keccak-256 hashing and Monero's Base58 encoding.
[Read More]Elliptic curves
Cryptography
The easiest way to understand Elliptic Curve (EC), point addition, scalar multiplication and trapdoor function; explained with simple graphs and animations.
[Read More]Zero-knowledge proofs
Cryptography
Zero-knowledge is a method to prove that you know a secret ``x`` (e.g. a password, private key, piece of knowledge, etc) without revealing that secret.
[Read More]Zero-knowledge proofs
Cryptography
— layout: post title: "Zero-knowledge proofs" subtitle: Cryptography date: 2019-08-26 tags: ["cryptography", "zero-knowledge-proof", "math", "python", "zcash"] —
[Read More]EC-Schnorr
Cryptography
Overview
EC-Schnorr, as the name suggests, is a Schnorr-type digital signature scheme over elliptic curve, it's ECDSA's little sister and Schnorr's big brother implemented in the upcoming MuSig in Bitcoin.
[Read More]ECDSA
Cryptography
Elliptic curve cryptography (ECC) and digital signature algorithm (ECDSA) are more complex than RSA or ElGamal but I will try my best to hide the hairy math and the implementation details.
[Read More]ElGamal
Cryptography
ElGamal is a public key cryptosystem that is used in encryption , digital signature and homomorphic cryptography.
Here is my take in 12 lines of Python code:
[Read More]