Questions tagged [cryptography]
Concerning the broad subject of cryptography and its narrow application in Bitcoin protocol and applications.
273
questions
-3
votes
0
answers
35
views
Why can’t I place limit sell order [closed]
LUNAUSDT is going mental at the time of this writing. I figured to take advantage of that so I bought 50 usdt worth of LUNA with a market order. After that I wanted to place a sell limit order for 100%...
0
votes
0
answers
18
views
What Is The Script Signature And PUSHDATA operation? [duplicate]
In bitcoin transactions, there is a part of the transaction known as the scriptsig. What does this mean? Also, what is the ScriptSig (PUSHDATA opcode) operation.
0
votes
1
answer
29
views
How Is it possible that bitcoin blocks store transaction data in 32-bit SHA256 strings. How would nodes know the transaction?
What i mean is that a traditional bitcoin block has performed 2 SHA256 iterations on the raw hex data of a single transaction. Then it is stored in the block. But since it has been SHA256'd, how can ...
2
votes
1
answer
40
views
How to calculate the public key, compute point P and create signature using ECDSA?
I'm quite new to the intricacies of bitcoin cryptography and ECDSA and elliptic curve cryptography has me quite stymied. I am faced with a curve with the equation: y^2 = x^3 + 7 of order N=39 with ...
6
votes
2
answers
543
views
How is the generator point G chosen in the secp256k1 curve used in Bitcoin?
The generator point G in the secp256k1 curve used in Bitcoin is a known constant:
Gx = 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
Gy = ...
0
votes
1
answer
30
views
Is it Possible to Create Signature Chains for Private Keys to Sign Transactions with? Similar to how Certificate Authorities Use Intermediate Certs?
I am wondering if it is possible to implement this flow with bitcoin private keys, similar to how certificate authorities have a root cert and an intermediate cert used to sign csr's. It would be ...
0
votes
1
answer
45
views
Is it possible to compute just a byte of the public key by having the private key?
Let's say we have a certain known public key to which we want to find the private key with a bad approach such as brute forcing.
Would it be possible that instead of computing the whole public key to ...
1
vote
0
answers
107
views
What needs to be changed in Bitcoin if SHA-256 is broken? [duplicate]
I come up with a little bit "catastrophical“ question. I declare that I understand the degree of improbability of such a scenario in our lifetime, but I would still be interested in your opinion. ...
0
votes
0
answers
18
views
verify my bitcoin address [duplicate]
My client sends me money on bryxex.com but when I try to verify it. It is asking me to verify my external wallet. There are very mixed reviews about this site. The minimum amount they are asking is 0....
0
votes
1
answer
48
views
What happens to the public and private keys after a transaction? Specifically, how (and why) do they change upon payment?
Feel free to answer/address as many of these topics as you like:
In particular, I am interested in how bitcoins can be stolen, e.g., the 2016 Bitfinex hack. If I am not mistaken, the only way to steal ...
0
votes
0
answers
32
views
How transactions script work?
I am trying to learn Bitcoin in some technical details, but I don't really understand the process of locking and unlocking scripts. I know that for what they are using, but can someone explain me some ...
0
votes
0
answers
36
views
Claimed Bitcoin before high security
I claimed a paper wallet on Crypto.com before the high security went into affect. I am unable to get into my account and access my currency. Pass phrases, I.D., s.s., were not part of the process at ...
0
votes
1
answer
51
views
How do nodes fetch unconfirmed transactions?
I'm taking up a project to build a software in python to mine cryptocurrency (preferably bitcoin).
I have an overview of the computation that needs to be done.
I would like to know how nodes fetch ...
1
vote
1
answer
54
views
BIP 32 CKDpriv not working in my python implementation
I have been working on implementing BIP 32 in Python. This is my code for deriving normal (not hardened) child keys as part of an HD_Key class:
def CKDpriv(self, index):
key = bytes.fromhex(self.c)...
0
votes
1
answer
34
views
how does new exchanges order books work?
When a new exchange is launched and it doesn't have many users, how does it managed an order book? how can they match orders when there's not enough of them?
0
votes
1
answer
41
views
BT wifi Internet router not detecting S9K miner
I am mining crypto via GPU & ASIC miners. I recently bought an S9K Antminer which powers on perfectly fine; however as we all know, it needs to connect to the internet via an ethernet cable. This ...
0
votes
1
answer
89
views
How to get public key and bitcoin compressed address from the coordinates (x,y) generated by ECDSA?
I have my x (0xca668a8b5f71e8724aada4b5343c28702a481787855cc42228b8fff97fe94d6a) and y (0x19dd3a603a55b3d8c5f62cbe177b9b63693fb8c91d76845bafc843a7aa19ea55) coordinates generated by ecdsa with a ...
0
votes
1
answer
63
views
If you lose your Bitcoin wallet Password, can you simply transfer private key to another bitcoin wallet provider?
If you lose your Bitcoin wallet password, can you simply transfer private key to another bitcoin wallet provider? I mean if I lost the password to the website where the wallet is stored, can I simply ...
0
votes
1
answer
31
views
What happens to your assets if Coinabase (or an equivallent site) closes down?
I mean if a bank institution closes down there is an amount of money insured.
What happens if Coinbase or Crypto.com which is actually just a web site goes off?
0
votes
3
answers
113
views
bitcoin private key usage
My next question is how Private Key needed to spend coins. According to my understanding for transaction needed below steps:
A wants to send 10 coin to B
A make transaction example: from: A, to :B ...
0
votes
1
answer
38
views
how target walled address is secure to save received amount?
What about if I (as a hacker) change the amount from 5 to 1 for any transaction and put signature with my (as a hacker) Private Key and mine that block again. Yes, I lose 1 coin, At the same time isn'...
0
votes
3
answers
70
views
Long-term present in a form of cryptocurrency for newborn
Lets go...
I am relatively new to to world of crypto. Have some experience with Binance, last few weeks. My friend had a son, and I want to give him a little different present - crypto investment in a ...
0
votes
2
answers
129
views
Can we have multiple possible nonce making same number of leading zeroes in the hash?
Is it possible to have different nonce which are satisfying the same condition of having let's say 4 leading zeroes in the hash?
Is it possible that one node suggests 89123 nonce and other node ...
2
votes
1
answer
94
views
Why does the chacha20 implemented in the Bitcoin Core use a 64 bit nonce?
The draft of chacha20 uses a 64-bit nonce, but the final version of chacha20 specification uses a 96-bit nonce.
The #9792 PR adds chacha20 to Bitcoin Core. We can see the function ChaCha20::SetIV(...
3
votes
1
answer
428
views
Why does the TXID have 256 bits when Bitcoin's address security is 160-bit?
Commonly used Bitcoin addresses have the security of 2160 (due to the RIPEMD-160 hash). This means that Bitcoin is based on the fact that 160-bit security is good enough. If someone breaks 160-bit ...
1
vote
1
answer
90
views
How does a Wallet Create a Transaction when a Public Address Is Provided?
Given a public Bitcoin wallet address 1BdYVvwoxTWMGqJS2Pg6NkVD7RnENVjSac; is pasted into a wallet to send Bitcoins to. How does the wallet create an output to send coins to the public key associated ...
2
votes
2
answers
102
views
Traced stolen crypto to exchange. Any way to get it back?
A week my BTC was stolen (very likely some form of trojan/keylogger as I stupidly kept the keys on a computer which connects to the internet). After getting over the initial shock, I looked into the ...
0
votes
0
answers
38
views
Bitcoin Vanity Plus generating more than matches
I am using Bitcoin Vanity Plus code from Github to generate custom wallet addresses.
https://github.com/exploitagency/vanitygen-plus
When I use default search like ./vanitygen -iqz 1
its returning [27....
8
votes
1
answer
2k
views
Should I share my seed phrase to earn airdrop tokens?
Someone on Face Book said I could earn free crypto by appying for an airdrop. He told me to download Blockchain from app store to my phone. I did this and created my account with a password. I also ...
0
votes
0
answers
22
views
Bitcoinj Doesn't increase wallet value
this is the initialization of wallet and block and PeerGroup :
Wallet wallet = new Wallet(params, KeyChainGroup.createBasic(params));
BlockChain chain = new BlockChain(params, wallet, new ...
1
vote
1
answer
244
views
Some technical questions about Bitcoin [closed]
I'm a developer. I've read a lot about Bitcoin structure and how it works. But yet something confuse me.
I would like to share them with you and read your answers:
When a miner solves a block, how ...
0
votes
1
answer
117
views
Canceling my pending withdrawal BTC
How can i cancel my pending withdrawal BTC of $1,240. Its been pending for 2 days. it has no confirmations and on the blockchain it says it receives 0 and sent 0. Someone PLEASE help me!
1
vote
1
answer
130
views
Explanation of "Timestamp Server" section in original bitcoin paper
I'm trying to understand the "Timestamp Server" section in the original bitcoin paper. It feels overly short for someone without an understanding of cryptography.
Is it saying?
A block ...
0
votes
0
answers
32
views
Get/Calculate Address
I'm currently using a program that analyses the block files. It splits all the stuff into multiple .csv files. Is there any method I can do to get the addresses & amount sent/received from tx_in ...
0
votes
0
answers
16
views
Why exchanges show Bitcoin price higher than actual value? [duplicate]
I trade crypto on indian platform WazirX and CoinSwitch. Both are currently showing price of 1 Bitcoin to be 44,78,353 Indian Rupees ($ 60,605.51) while the price shown on google as well as Binance ...
0
votes
1
answer
58
views
Shared crypto hardware wallet
We were all newbs at the beginning, and did things the wrong way.
My partner and I bought crypto separately with our own exchange accounts, but transferred our hodl coins to a single shared hardward ...
-1
votes
2
answers
78
views
How Bitcoin restricts the mining time?
How Bitcoin restricts the mining time?
We know cryptocurrency systems restrict the mining time of a block to a certain limit for security reasons. For example, mining time for Bitcoin is ~10 minutes. ...
2
votes
1
answer
101
views
Using key aggregation (multsig) in P2TR script path spends
I know that it is possible to create a 2-2 multsig using Taproot by combining both private keys into one public key and defining that as the key path spend. I also know that it is possible to use ...
0
votes
0
answers
46
views
basics of cryptocurrency [duplicate]
I recently became interested in cryptocurrency and its mining process but there are a few things I don't understand very well and I am still trying to learn the basics more before getting into trading ...
0
votes
1
answer
48
views
How is wallet balance from unspent transactions in cryptography terms?
There is already a good almost complete answer here (but missing the cryptography explanation):
How is a wallet's balance computed?
Is a bitcoin wallets balance calculated on the client computer ...
0
votes
1
answer
186
views
Create wallets on website PHP
I am trying to create a website that allows the deposit of cryptocurrencies (BTC / ETH / LTC) in the account, consequently I need to create a wallet at the personal registration for each of these 3 ...
1
vote
0
answers
58
views
Looking for Bitcoin/Crypto payment processor that will split payments (pay multiple people from sale)
I'm looking for a crypto payment gateway that will allow me to accept payment for a product. It should support splitting the payment between multiple crypto wallets (multiple people).
0
votes
1
answer
90
views
Public key Exceeding Mod P? A Clarification Request On The Discrete Logarithm Problem
I tried to observe / implement the discrete logarithm problem but I noticed something about it; but before I get into it let me give some clarification which is open to correction.
a = b^x mod P
...
1
vote
1
answer
48
views
Feasibility of using Ring Signatures with CoinJoin Technique
There is a Ring Signature implementation in C++ by Libbitcoin team. We can find the details in the following GitHub repository. Is it feasible to use Monero like Ring Signatures together with the ...
1
vote
1
answer
62
views
Multi Party ECDSA?
Are there any alternatives to the Multi Part ECDSA implementation contributed by ZenGo?
0
votes
0
answers
56
views
Any Bitcoins on an old computer
I purchased an older computer at a garage sale, the seller said her son used it from about 2008 to 2012 to play games online. It still has the original hard drive and the seller says its been in ...
0
votes
2
answers
87
views
How can I determine where a BTC transfer from one of my accounts to another went wrong?
I have two BTC accounts on a Ledger S Nano hardware wallet, which I can check via the Ledger Live software. I've transferred BTC many times already, to my own accounts and to other people, and never ...
0
votes
1
answer
187
views
BTC Treasure hunt
Alright, I’m new to Bitcoin/Crypto, and this might be a long story but worth it.
My life long friend had a $50 Visa gift card back in 2009-2011. His friends were over the house one day and mentioned ...
1
vote
0
answers
20
views
Difference between cryptography in cryptocurrency hardware wallet and 2FA hardware security key
What's the general overview of difference between the way how cryptocurrency hardware wallet works and how hardware security key (used for 2FA) works?
2
votes
1
answer
128
views
Why is Public Key aggregation in MuSig described as a product of the public keys?
In the the MuSig2 paper, it is described that:
Each signer randomly generates and communicates to others a nonce
Ri=g^ri; then, each of them computes R=∏ni=1Ri,c=H( ̃X,R,m)where
̃X=∏ni=1Xiis the ...