Questions tagged [sha256]

A 256-bit variant of Secure Hash Algorithm 2

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
65 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
465 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
231 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 ...
1
vote
2answers
86 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
104 views

How do i setup 2x TTbiT Usb Miners on CGminer?

I'm having trouble connecting 2x TTbiT Usb Miners(sha256) through CGminer. Does anyone know how to set them up to mine BCH on Multipool?
0
votes
0answers
48 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
1answer
145 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 ...