Decentralized meta-learning
  • Bitcoin
    4. Segwit transaction 3. Segwit address 2. Bitcoin transaction 1. Bitcoin address
  • Cryptography
    RSA ElGamal ECDSA Schnorr EC-Schnorr Zero knowledge proofs Elliptic curves Commitment schemes Hash functions BLS
  • Coins
    Ethereum address Monero address Iota address
  • Emacs
    Completion system In-file navigation Files/buffers navigation From Jekyll to Hugo Organizing work/life projects
  • Elixir
    Functional architecture The Power of Mnesia Testing Elixir
  • Finance
    Interest Rate Black-Scholes formula Options Greeks Historical Volatility Linear & Log Returns Risk-adjusted metrics
  • Linux
    3. Use Linux kernel module 2. Config Linux kernel module 1. Write Linux kernel module From HDD to SSD w/ EFI Back to my first love Package management Config management SSH keys on USB Firewall, monitor, ban. Repeat. Wildcard SSL certificate SSL-offloader for Dokku 1. Personal Email server 2. Personal DNS server 3. Personal VPN server
  • Science
    Complexities with graphs Algebraic structures Ternary (Trinary) system Bias vs. variance 5kW off-grid photovoltaic system
  • Open Source
    Bitmex-API Actihunt Deribit-API 3DP Huveragy G2: web app
  • Trading
    Reminiscences of ... a loss Chess vs Trading Weekly Monthly Close Month Breaks Outlier changes alert Hedge Fund Market Wizards book Session breaks Whale alert New Market Wizards book Price breaks indicator Click, Percent, Zscore changes COVID-19 indicators
  • Travel
    4. Gasherbrum2: aftermath 3. Gasherbrum2: compare gear 2. Gasherbrum2: gear list 1. Gasherbrum2: training plan First USA visit Coworking spaces High-end Maldives Diving Palawan Backpacking Vietnam Surviging Bali 1. Annapurna Circuit: the plan 2. Annapurna Circuit: the gear 3. Annapurna Circuit: the training 4. Annapurna Circuit: the afthermath
  • Tags
  • About
Decentralized meta-learning

Python


Black-Scholes formula

Finance

 Posted on January 28, 2021  |  4 minutes  |  748 words  |  

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]
trading  options  put  call  black-scholes  volatility  python 

Generate IOTA address

IOTA

 Posted on December 28, 2020  |  6 minutes  |  1074 words  |  

Generate IOTA address using plain old Python, starting with random seed, derive private key, and finally the checksum and address.

[Read More]
iota  address  generation  crypto  python 

Generate Ethereum Address

Ethereum

 Posted on October 27, 2020  |  3 minutes  |  499 words  |  

Generate Ethereum address from private key using plain old Python3, Elliptic Curve multiplication from SageMath and of course Keccak hash function.

[Read More]
ethereum  address  generation  python  crypto 

Generate Monero address

Monero

 Posted on July 18, 2020  |  3 minutes  |  607 words  |  

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]
monero  address  generation  python  crypto 

Elliptic curves

Cryptography

 Posted on September 25, 2019  |  5 minutes  |  1030 words  |  

The easiest way to understand Elliptic Curve (EC), point addition, scalar multiplication and trapdoor function; explained with simple graphs and animations.

[Read More]
cryptography  elliptic-curve  math  sagemath  python 

Zero-knowledge proofs

Cryptography

 Posted on August 26, 2019  |  7 minutes  |  1481 words  |  

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]
cryptography  zero-knowledge-proof  math  python  zcash 

Zero-knowledge proofs

Cryptography

 Posted on August 26, 2019  |  7 minutes  |  1416 words  |  

— layout: post title: "Zero-knowledge proofs" subtitle: Cryptography date: 2019-08-26 tags: ["cryptography", "zero-knowledge-proof", "math", "python", "zcash"] —

[Read More]
cryptography  zero-knowledge-proof  python  math 

EC-Schnorr

Cryptography

 Posted on June 25, 2019  |  4 minutes  |  662 words  |  

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]
cryptography  schnorr  ellipticcurve  math  python  sagemath 

ECDSA

Cryptography

 Posted on April 9, 2019  |  4 minutes  |  818 words  |  

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]
cryptography  ecdsa  discrete-logarithm  math  eli5  python  sagemath 

ElGamal

Cryptography

 Posted on March 26, 2019  |  4 minutes  |  816 words  |  

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]
cryptography  elgamal  discrete-logarithm  math  eli5  python 

 • © 2025  •  Decentralized meta-learning

Hugo v0.140.2 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll