Stack Exchange Network

Stack Exchange network consists of 174 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 [ripemd160]

The tag has no usage guidance.

0
votes
2answers
32 views

SHA256 vs RIPEMD160 in SegWit

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 ...
1
vote
1answer
105 views

Bitcoin RIPEMD160 purpose

Bitcoin uses RIPEMD160 on top of SHA256. Is its sole purpose to make public key address shorter or does it strengthen security in any way?
0
votes
0answers
39 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 ...
1
vote
2answers
705 views

Two addresses with same hash160?

It seems that two addresses have same hash160 69665e2c4fac771e340f8c6f91c719b0c37a6a8f: here 0 BTC: https://blockchain.info/address/1AcJanbHGrBFwS3KJMDW8kEZMtHiJhatzE here 0.00720407 BTC: https://...
3
votes
3answers
1k views

Convert between String/Hex/Byte in Java for sha256 - wrong format?

I am trying to convert a bitcoin address and have the following code from here (Calculate Segwit address from public address, 2nd answer): Step1: $ printf 1L88S26C5oyjL1gkXsBeYwHHjvGvCcidr9 > adr....
0
votes
2answers
722 views

Convert list of BTC address(base58) to Ripemd16(base16) [closed]

Are there online tool or repositories that can convert multiple base58 (BTC address) to base16 simultaneously?
0
votes
2answers
195 views

How can address' hash160 be used to determine information for malicious purposes? (Ie reusing of the same address)

I've been playing around with Richard Kiss's Pycoin app which is clarifying how P2PK works. I see that the hash160 of the value: (0x04) (x-coordinate) (y-coordinate) (for an uncompressed Testnet ...
0
votes
1answer
47 views

What are some valid ways to obfuscate the scriptPubKey?

Is it possible to hide the balance of an address from standard clients who may be watching blockchain? I'm thinking about using script to modify the the key that is to be verified, but am having ...
1
vote
1answer
71 views

In a perfect world, should RIPE160 be used as the block ID or transaction ID?

Edit: In this question I'm looking at storage advantages, and network bandwidth savings. Given that the TxID and BlockID uses SHA256 to uniquely identify a transaction (and block) is there any ...
1
vote
1answer
495 views

Can a brainwallet passphrase be derived if an attacker has obtained the private keys of an empty wallet.dat file?

Someone robbed me at gunpoint and took my laptop. The laptop contained an encrypted hardrive with a wallet.dat file. Both the hardrive and wallet.dat had at best weak passphrases for the encryption. I ...
1
vote
1answer
301 views

The bitcoin address space seems to be closer to 2^40, not 2^160

The Base58 Encoding of a public key hash outputs: "A set of 58 alphanumeric symbols consisting of easily distinguished uppercase and lowercase letters (0OIl are not used)" This set is a fixed string ...
5
votes
2answers
2k views

Why was the RIPEMD-160 hash algorithms chosen before SHA-1?

Bitcoin uses both SHA-256 and RIPEMD-160 hashes. Most often a double-round SHA-256 is used, but for address generating, RIPEMD-160 is used because it generates a shorter hash value. RIPEMD-160 has a ...
26
votes
1answer
5k views

Why are Bitcoin addresses hashes of public keys?

Currently, Bitcoin addresses and their checksums are constructed from the public key by a using repeated hashing with SHA256 and RIPEMD160. Now I understand the reasoning behind using hashing for ...