Questions tagged [hash]

This tag should be used for questions related to hashes. A hash is the output of a hash function, a function which .is a mathematically reproducible but irreversible process that takes in an arbitrary length input and produces a fixed length output. The same input will always result in the same output. Hashing is central to Bitcoin mining as well as the generation of Bitcoin addresses.

I'm using private libbitcoin server and libbitcoin explorer.
When I use bx fetxh-transaction, it returns something like:
I'm trying to figure out, how to get right address from address_hash.
When I ...

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 ...

In Pay-To-Witness-Public-Key-Hash (P2WPKH), the RIPEMD160 hash function is used to hash the public key of the recipient in the locking script.
On the contrary, Pay-To-Witness-Script-Hash (P2WSH) uses ...

I am sorry for the repeat question but I cant find a clear answer. Most of the time PoS isnt explained in detail (only explaining the advantage) and a lot of sources contradict each other and now I am ...

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 ...

Normally, one of the purposes of hashing a string (such as a transaction) is summarizing the data to save the size because of the space limitation.
If this proposition is true, now assume we need to ...

We know for each block in block chain, it has the previous block header hash which make the block be tampered become difficult. If the block is tampered, then all blocks after this tampered block need ...

Not sure if this is the correct forum to ask, but I couldn't find a general one for all cryptocurrencies
I wanted to get an idea on how the whole cold-storage private/public key generation works for ...

When I use the "getblock " command on my bitcoin core client, it returns, beside other things, an array called "tx" with hundreds of hashes. Are these the individual transactions hashes or something ...

I know that it verifies the block hash by calculating each hash of the contiguous blocks in order, but does it verify the balance of each wallet sending the transactions as well? And does it do the ...

To my knowledge, neither SHA256 or scrypt have ever had provable instances of hash collisions occur.. However, if this highly unlikely event was to happen, what would that mean for the state of the ...

That is the question, why a block needs to have a Merkle root hash, as Iundestand, once a block is mined the hash value of this block is stored at the header of the next one so, it generates the chain....

I want to know how I can express a phenomenon found in Merkle Trees mathematically. If I want to figure out which leaf node in a Merkle Tree has changed I can look at the authentication path to figure ...

Ledger Nano S and other pieces of Bitcoin software and hardware can sign messages using the private key associated with an address.
Doing this, I get the following output:
-----BEGIN BITCOIN SIGNED ...

Let's use block #100205
https://www.blockchain.com/en/btc/block/0000000000033d0de6f4ebe93b3b142424cdbecf4bd98b948e856c4a55f09f76
This block contains 6 transactions. After the second level of hashing ...

Let's say you use:
https://passwordsgenerator.net/sha256-hash-generator/
You plug in data and it produces the first hashed value. If you plug that output in for the second SHA256 it outputs the wrong ...

I've read that it's some variation of: version, previous block hash, merkle root, time, bits, and nonce, but I'm not certain on where to get this data and how it should be formatted. I'd like to know ...

I'm learning about basic transactions and know that a transaction should contain:
i) Signature of the sender using some operator: sign(private key,message)
ii) Receivers Public key (wallet address)
...

Various block explorers exist, which offer REST APIs. So far been using blockchain.info and btc.com
Here is what we have:
- List of bitcoin addresses
Here is what can easily be got with that info:
-...