0

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 trouble concocting such a script.

Is there any prior work that does obfuscate the RIPE160 address?

2
  • 2
    Why? I don't see why this is preferable to simply not reusing addresses.
    – Tim S.
    Commented Mar 13, 2014 at 19:20
  • It's a thought experiment, perhaps it's useful to someone. Perhaps not. Commented Mar 13, 2014 at 19:23

1 Answer 1

1

You can insert two OP_HASH160 after the OP_DUP and then push the hash of your pubKeyHash. Nobody can tell the recipient address this way.

Example:

OP_DUP OP_HASH160 OP_HASH160 double_double_hash OP_EQUALVERIFY OP_CHECKSIG 

Where

double_double_hash = RIPEMD160(SHA256(RIPEMD160(SHA256(pubKey))))
2
  • Of course, this only works once. When you use the same trick to send more coins to the same address, it will be obvious that they are going to the same place. Commented Mar 14, 2014 at 1:26
  • You can always use fancier opcodes, for example add a random constant and an 'OP_ADD' between two OP_HASH160 opcodes. Of cource it is still very obvious that nobody else is using such crazy scripts.
    – uminatsu
    Commented Mar 14, 2014 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.