Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cryptography]

Concerning the broad subject of cryptography and its narrow application in Bitcoin protocol and applications.

1
vote
1answer
32 views

What is the current computing speed of performing an elliptic curve multiplication?

Hi I was just looking for some information on how long it would take to crack a private key in bitcoin using a brute force approach and I couldn't find a very good answer for how long it takes to ...
0
votes
2answers
42 views

The order of the generator point G used in bitcoin

Hi I was just wondering how the order of the generator point G used in bitcoin was actually calculated. From the specification listed http://www.secg.org/SEC2-Ver-1.0.pdf for secp256k1 I can see ...
0
votes
2answers
486 views

C#, How can I actively query the crypto-market?

Are there any wrappers to get the real-time crypto-currency value similar to coincap.io? Right now I am using Json to deserialize a download string from CoinMarketCap, however, the api does not ...
0
votes
1answer
26 views

Bitcoin Signatures are susceptible to quantum attacks - how exactly and with what practical impact? [duplicate]

@PieterWuille wrote in another thread: "" The hashing algorithm is probably the most quantum-resistant piece of cryptography right now in Bitcoin. Barring any specific breaks, SHA256 and RIPEMD160 ...
1
vote
1answer
85 views

How can you calculate the inverse of S component of signature, while you cannot do it in ECC to calculate private key from public key?

When verifying the signature in bitcoin, we calculate S^(-1) * hash(m) * G + S^(-1) * R * pub_key and verify that this is equal to the temporary public key. Given the same logic, why can't we use it ...
-1
votes
2answers
110 views

How would one prove he is Satoshi Nakamoto if he lost his private keys

Assume you're Satoshi Nakamoto, completely, and that you've forgotten your private key/s. How do you prove that this is true, using the BTC blockchain? Is there a transaction you can make, or a ...
2
votes
1answer
39 views

What is so special about chacha20 stream cipher along with poly1305 for message authentication codes?

I am currently trying to dissect the low level cryptography protocols of the lightning network and I realize that in many places chacha20 is being used. I tried reading about it in the Wikipedia ...
3
votes
1answer
36 views

ECDSA signature with r value of 31?

occasionally on Android we are generating an ECDSA signature. This turns out to have a "r" length of 31 bytes. Is that valid? For reference here is a nice diagram outlining the ASN.1 structure of ...
0
votes
2answers
123 views

Practical application of Electrum's Encrypt/Decrypt message feature?

It's pretty clear how signing a message with a Bitcoin key can be useful in proving ownership of funds. However, it's far from clear how encrypting a message with a Bitcoin key can do anything useful....
0
votes
1answer
79 views

BITCOIN SCRIPT: Write the bitcoin ScriptPubKey script for a transaction that can be redeemed by anybody who supplies a square root of 1764?

Bitcoin script: For the following questions, you're free to use non-standard transactions and op codes that are currently disabled. You can use as a shorthand to represent data values pushed onto the ...
0
votes
3answers
605 views

Why is it impossible to modify a transaction in the blockchain?

Many pages (including Wikipedia) say that it is impossible to modify a transaction which is already in the blockchain included. But why is it so difficult?
0
votes
0answers
21 views

Correct breakdown of the name of secp256k1?

sec Standards for Efficient Cryptography 256 256bit prime k1 Koblitz curve no. 1 ?
1
vote
1answer
131 views

How specific are ASIC's design? Can they single hash SHA256?

I understand that Bitcoin's ASICs are a highly optimized piece of equipment and, therefore, are also very specific. My question: are they able to do a single (or triple?) SHA-256 hash at all? And, ...
0
votes
0answers
14 views

Private Blockchains: Blocks’ validation

I’m a software developer and I’m trying to understand blockchain at a code level I have the following issue: There’s a private blockchain, this private blockchain does not have any relation to ...
7
votes
2answers
2k views

Is a bitcoin address collision possible if generating 90 million addresses every 4 hours?

I am running a test to see if I can obtain a successful bitcoin address collision after generating billions of addresses. I am not entirely sure how I would check them yet. Basically I have an extra ...
0
votes
2answers
43 views

I am just wondering what are the methods which can hide all the transactions and also able to validate transactions in an block chain?

I am new to block chain and was looking at how block chain work mainly proof of stake based . They check validity by going through all the transactions which is something concerning as everyone can ...
4
votes
2answers
524 views

What are the advantages of using Secp256k1?

Bitcoin uses secp256k1 as the specification for it's address system (https://en.bitcoin.it/wiki/Secp256k1). What are the advantages (and disadvantages) of using this over other specifications such as ...
13
votes
1answer
1k views

What is the origin of insecure 64-bit nonces in signatures in the Bitcoin chain?

In Biased Nonce Sense: Lattice Attacks against Weak ECDSA Signatures in Cryptocurrencies Joachim Breitner and Nadia Heninger use a lattice based algorithm to recover private keys from signatures in ...
2
votes
1answer
133 views

Bitcoin Core Old Wallet.dat Vulnerability

Own a wallet.dat file from 2010-2011. Yesterday I saw there was a vulnerability which is makes attacking somewhat easier if your wallet is generated by old client and I'm pretty sure my wallet is ...
1
vote
1answer
234 views

Mycelium Backup Restore

Is there a way I can restore my mycelium Bitcoin wallet if I have forgotten the 12-word list? I have searched everywhere and no one describes a situation like this.
0
votes
1answer
30 views

Can a cryptocurrency be liquid while it is in its pre-sale, or even ICO

I am planning to run a Coin's ICO for several years, not interested in the gains to be made from selling out ICO in 3 days NO, but interested in using the COin to end Global Poverty as i deem fit. So ...
1
vote
1answer
45 views

Security implications of removing CHECKSIG in a test

If I conduct an htlc transaction on testnet that does not include OP_CHECKSIG will it still cost an attacker more than (say) $10 in processing power or storage to subvert my tests? Details: I'm ...
0
votes
1answer
163 views

Does each miner in a bitcoin mining pool has a chance to win the block reward?

Suppose there is mining pool XYZ. 10 miners 1 through 10 are subscribed to it and miners have varying hash power, some have 10 GPU mining rig while others have just a single CPU running 24 hours a day ...
0
votes
1answer
373 views

How do I calculate the expected shares per minute for my pool

I am currently mining Zencash in a pool, and I'd like to be able to calculate the expected shares per minute for a given pool's hashrate. Let's say the pool's hashrate is 50 KSol/s. I think that the ...
5
votes
2answers
523 views

Is it possible to discover the set of bitcoin addresses from a public key?

I'm trying to find the set of bitcoin addresses from a public key associated with a user just to analyse this user transaction. Is there any way to derive/find all the addresses that have been ...
1
vote
1answer
523 views

Ramifications of creating Electrum 2.x seeds which are not BIP39

Electrum 2.0 seeds (mnemonic phrases) are created with a checksum based algorithm (such that the hmac_sha512 starts with 01. It's usually a 13 word seed, but can be 12 in some circumstances. If all ...
0
votes
2answers
112 views

Do mining pools eliminate the need to store blockchain?

Suppose I want to design generic crypto currency miner starting from scratch . By generic I mean it can be configured to support a large number of available crypto currencies. This generic miner must ...
0
votes
2answers
36 views

In theory could a pubkeyhash script be solved without the public key in the scriptSig?

When signing a pubkeyhash UTXO, it is required to provide both a signature and a public key. The public key is duplicated and one copy is provided to op_checksigverify to ensure the signature is valid,...
1
vote
1answer
44 views

Setup bitcoin-seeder

I wanna setup a dnsseed for a crypto currency using sipa/bitcoin-seeder on my VPS. The server is hosted at NetCup and running the software as root, and also listening on port :53 UDP. My domain is ...
1
vote
4answers
109 views

Use of proof of work in bitcoin

I am trying to understand what problem in bitcoin proof of work solves and came to this somewhat helpful quote: So, for instance, if a miner controls one percent of the computing power being used ...
1
vote
2answers
180 views

Block chain and its uses cases for a non-financial asset market

So i have been reading a lot about block chain technology and its use cases in the finance and cryptocurrecncy markets. One thing that guarantees blockchain's success in the cryptocurrency market is ...
0
votes
2answers
38 views

How bitcoin gets monetary value [duplicate]

This looks like a complex thing but I am trying hard to understand it. Why would any one in the world honor a crypto currency till it is backed by a government with monetary value? How does a crypto ...
1
vote
0answers
38 views

Could a network described below function and how well?

I have an idea I am working on for some time, it would be using blockchain technology. However, although I know something about blockchain as it stands today, I am lacking a more deepened knowledge ...
0
votes
1answer
312 views

Looking for code generate bitcoin address from passphase in C++

i'm try to write a program which generate bitcoin address from given hash sha256 of passphase as private key or given hex private key. I've found a library for this but it required Boost package in ...
0
votes
1answer
232 views

Teslacoin sync error - No Suitable Inputs Found

Not sure this is the right forum for this, but I thought I'd ask out of desperation. I have the following error when trying to sync my teslacoin wallet. I managed to sunc about 6 weeks ago, however ...
0
votes
1answer
37 views

Is hashing an optional step to use with public key cryptography for blockchain

I am confused by the public key cryptography versions that I've read so far. Are the steps optional, dependable on the types of blockchain or they are referring to different methods? Version 1 =======...
0
votes
2answers
80 views

How to get the generator G point for any new curve?

I have this bitcoin curve: y^2 = x^3 + 7 but the finite field Fp is modified to be: n=115792089237316195423570985008687907853269984665640564039457584007908834675927 1-What is the G point? 2-how ...
-1
votes
1answer
55 views

proof of stake concept and implementation confusion

i'm currently studying proof of stake concept in cryptocurrency in preparation of building it soon, but i still have some doubts about my understanding of the concept itself, and i have a lot of ...
1
vote
0answers
119 views

Idioms of use/ bitcoin heuristic

I already know the answer of a) part which is Alice. Can anybody help me in finding answer of b) part.
2
votes
1answer
25 views

How can I use messengers for crypto transactions?

Is it possible to use Signal or Telegram for crypto transactions? I heard CryptoCat messenger is for such needs, but interested in using those two mentioned above.
0
votes
1answer
40 views

Can Bitcoin Tech be Used to Protect Journalists [closed]

Over eight Nigerian journalists are currently in police detention because they published investigative news stories that didn't sit well with the government of the day. How can the bitcoin ...
0
votes
1answer
736 views

24 Hour price change Mean

If a currency price is showing ABC per coin and its price % is +X% or -X% then this reference is taken from which last price i.e. which point of time the price is taken
0
votes
1answer
30 views

Have all hashes of unlocked difficulty levels of cryptocurrencies been mined?

I'm wondering if all the hashes of a previously unlocked difficulty level of a cryptocurrency, such as 0000000000000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx BTC , have been completely ...
0
votes
4answers
138 views

cryptocurrency tax question

I have a buddy who I sent money to to buy a certain amount of Ripple. For one reason or another, I couldn't do this on my own at the time. In any case, the currency has tripled and I want him to send ...
19
votes
2answers
10k views

ECDSA: (v, r, s), what is v?

Deterministically signing a Tx with RFC6979 returns v, r, s, where r and s are the 2 values used in standard ECDSA signatures. v = 27 + (y % 2), so 27 + the parity of r, as pybitcointools indicates. ...
0
votes
1answer
34 views

Multisig Wallet Question

I think I understand multisig wallets: X out of Y signatures are required for a transaction to be made. My question is: is there such a thing as a multisig wallet where any ONE of the allowed ...
0
votes
1answer
72 views

What's the difference between xpub and bpub?

I've seen and extended public key such as the one below xpub661MyMwAqRbcFLCsW67CH9AgprkK2MbeLbmdMiBRWb1Wamm6GjGhTFQChvPmwQGQh78MMd8Eu7CLJ7FEuwhsomD66XC74VnfgHdEx1NFSKL But now I've seen a bpub ...
1
vote
3answers
2k views

Get uncompressed public key from compressed form

A similar question has an answer in Python which links to the bitcointalk forum: How can I get the uncompressed public key from the compressed public key in openssl? https://bitcointalk.org/index.php?...
1
vote
2answers
50 views

Is there a single point generator G for every elliptic curve?

I understand that G is a point on curve which holds true for y^2 = x^3 + ax + b. But there can be several other points as well which holds true for above equation but how do we choose which one is our ...
0
votes
1answer
74 views

Solving a Block with more than one miner connected to same daemon

Well excuse me in advance if my question sounds funny. But I'm just curious perhaps someone can shed a light. When in a pool of miners, let's say there are 100 miners connected to a single daemon ...