⚡️Bitcoinia (Bitcoin Art) on Nostr: Continuing on my education in cryptography and Bitcoin I'm learning today that while ...
Continuing on my education in cryptography and Bitcoin I'm learning today that while Elliptical Curve Cryptography (aka Elliptic Curve Digital Signature Algorithm or ECDSA) using a specific curve being 'secp256k1'.
In a coding script like Python or whatever you're into you could use libraries and functions to create a set of keys, use them to verify a string or in BTC a transaction.
In our coding script we could then verify that our message or transaction was created using using a private key associated with the public key. If the mathematics being carried out in these functions and libraries checks out then we can say our message or transaction has been signed by a (secret) private key mathematically proven to belong to an associated public key - publicly available to an end user.
In this way the maths and code behind a BTC transaction allows us to sign a transaction without revealing out secret key (which gives us ownership over it) while allowing the person we are sending BTC (value) to can see that it was indeed the key associated with that private key which signed the transaction and hence gives the user assurance that the transaction was legitimate.
At least this is my understanding so far... #studyBitcoin and the journey continues. makes me wonder is this what Nodes are actually checking when they run consensus rules against blocks mined by miners to be added to the time chain? Guess Ill find out soon enough.
#plebchain #coffeechain #bitcoin #nostr #grownostr #alwayslearning
Published at
2024-06-10 03:08:04Event JSON
{
"id": "37a82a1546f8d4a72f7d86f4d9cf68a3988868b5837ba083ce825fb16da129fb",
"pubkey": "856d109e138476f813be5584adfc4d9721faa301e544462357c18651e264cb0a",
"created_at": 1717988884,
"kind": 1,
"tags": [
[
"t",
"studyBitcoin"
],
[
"t",
"plebchain"
],
[
"t",
"coffeechain"
],
[
"t",
"bitcoin"
],
[
"t",
"nostr"
],
[
"t",
"grownostr"
],
[
"t",
"alwayslearning"
]
],
"content": "Continuing on my education in cryptography and Bitcoin I'm learning today that while Elliptical Curve Cryptography (aka Elliptic Curve Digital Signature Algorithm or ECDSA) using a specific curve being 'secp256k1'.\n\nIn a coding script like Python or whatever you're into you could use libraries and functions to create a set of keys, use them to verify a string or in BTC a transaction.\n\nIn our coding script we could then verify that our message or transaction was created using using a private key associated with the public key. If the mathematics being carried out in these functions and libraries checks out then we can say our message or transaction has been signed by a (secret) private key mathematically proven to belong to an associated public key - publicly available to an end user.\n\nIn this way the maths and code behind a BTC transaction allows us to sign a transaction without revealing out secret key (which gives us ownership over it) while allowing the person we are sending BTC (value) to can see that it was indeed the key associated with that private key which signed the transaction and hence gives the user assurance that the transaction was legitimate. \n\nAt least this is my understanding so far... #studyBitcoin and the journey continues. makes me wonder is this what Nodes are actually checking when they run consensus rules against blocks mined by miners to be added to the time chain? Guess Ill find out soon enough. \n\n#plebchain #coffeechain #bitcoin #nostr #grownostr #alwayslearning",
"sig": "d75ad646e698b2a7d6651b100959f24111570ed85188724e7c3a53a8266bbc2a6a1a7fd47ef52a134a2179343978d7d873dde2639e1999289edf8eec1e5b04d8"
}