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 [sha256]

A 256-bit variant of Secure Hash Algorithm 2

1
vote
2answers
57 views

Electrum's “script hash” form with NBitcoin?

I've come across how scripts are hashed in the electrum (stratum) protocol implementation by looking at the docs. I'm using NBitcoin, and I've tried to generate this hash from a segwit address, first ...
0
votes
1answer
123 views

How do I double SHA-256 the header of block #59,500?

I'm not sure how to combine all of this information. https://blockchain.info/block/00000000096af43105123c499521e1d131d172e7e1bf2ed0843290a921f1f6a7 Version 1 Time Bits 470771548 (is this the right ...
2
votes
0answers
23 views

How to make a homomorphic preimage/payment hash with current lightning network / Bitcoin implementations?

If I remember / understand it correctly by using the mechanisms from the scriptless scripts paper we could easily create homomorphic preimages / paymenthashes. I think this would be a very desirable ...
2
votes
0answers
463 views

What is the fastest public SHA256^2 code for x86?

I am asking about the double SHA256 hashing function - the one that bitcoin uses. Which publicly available implementation is the fastest one out there? It can be in assembler, as long as it is for ...
1
vote
0answers
34 views

Can you use a mining hardware to find a string for a certian hash

Using a computer to brute force a sha256 will take very long time, but with a mining hardware, it still takes long, but at least chances of finding it are better. But the question is, are mining ...
1
vote
0answers
224 views

What parts of SHA-256 hashing an ASIC miner really does, and what remains a CPU job?

I know that ASIC does not perform transactions ledgering, it is a CPU job. I also know that SHA256 consists of two logical parts: a digest function, which reduces any big message, like ~1MB block, to ...
0
votes
0answers
37 views

SHA256 hash generating python

Can somebody give me complete python code that outputs a valid and random sha256 mining hash using python? I know bitcoin with a laptop is incredibly unprofitable, especially with python, I am just ...
0
votes
0answers
26 views

What is the error rate when mining blocks ?

I am doing the Coursera course on Bitcoin and Crypto tech, and there is a formula defined : Goodput = Throughput * Success Rate. 'Throughput' is defined as how quickly we are finding blocks, whilst '...
0
votes
0answers
13 views

Using libblkmaker with Litecoin/Catcoin

Can I use libblkmaker for generating Litecoin and Catcoin blocks? Is another PoW hashing algo an obstacle?
0
votes
0answers
41 views

Why does the bitcoin wiki's guide on building bitcoin addresses seem to have the wrong hashes?

I'm trying to follow this wiki on bitcoin address creation, but I'm getting different results when I walk through it myself Starting from step 4, we have the extended RIPEMD-160 hash ...