Bitcoin Forum
May 30, 2024, 05:45:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Secp256k1 Bitcoin signatures formula  (Read 97 times)
krashfire (OP)
Jr. Member
*
Offline Offline

Activity: 112
Merit: 6

Life aint interesting without any cuts and bruises


View Profile
January 11, 2023, 04:02:25 AM
Last edit: January 11, 2023, 03:38:30 PM by krashfire
 #1

Just putting it out here for those of you who, like me are very new in ECDSA Secp256k1 and wondering how to calculate the signatures or need hte formulas.

The M here means the same as Z signature in bitcoin transaction ..so input your Z in the M boxes. Most importantly, the formulas are given there as well.

why does different people call it Z, M or sometimes even call it H(m). i have no idea. confusing for me too earlier on but i caught up.  Grin

https://rawcdn.githack.com/nlitsme/bitcoinexplainer/aa50e86e8c72c04a7986f5f7c43bc2f98df94107/ecdsacrack.html



For those of you who needs to decompress your public key and get the XY Coordinates,
https://github.com/RoyNahar/bitcoin-public-key-decompress-tool



KRASH
stanner.austin
Member
**
Offline Offline

Activity: 67
Merit: 53


View Profile
January 11, 2023, 08:36:33 AM
 #2

Hello
In developers coding terms
M = message
H = Hashed message or hash
Z = bitcoin specific for double SHA2
K = nonce to randomize your sign output.
X = bitcoin specific for private key
pooya87
Legendary
*
Offline Offline

Activity: 3472
Merit: 10604



View Profile
January 11, 2023, 12:31:50 PM
 #3

The standard and the algorithm is the same everywhere but since there are different sources that have "written" that standard, they chose different terminologies. For example the "Standards for Efficient Cryptography" they use the term "e" in ECDSA formula for the integer derived from the message hash while in "Handbook of Applied Cryptography" it uses "h(m)" and wikipedia uses the term "z" for that integer.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!