Author

Topic: Bitcoin WIF collision? (Read 195 times)

newbie
Activity: 2
Merit: 0
December 31, 2021, 07:12:46 AM
#6
Thank you very much guys for explanation it looks https://gobittest.appspot.com/PrivateKey is not checking WIF checksum so WIF 5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP5919kdr is not valid at all.
full member
Activity: 233
Merit: 253
December 31, 2021, 06:38:43 AM
#5
So, it's probably just a bug of the gobittest.appspot.com. It shouldn't give you the second WIF. It's not valid either way.
The problem is that it doesn't check the checksum when you enter a (WIF) private key.

Yes, you can check it, changing the last character and you will get the same private key result:


1 - Wallet import format

5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fA
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fB
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fC
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fD
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fE
...
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fZ


4 - Dropping first byte. This is the private key

6F65E4E681B948BC85E4843BBFF14F2AAAA231059D894AC82A90BF1B511E9D73
legendary
Activity: 3472
Merit: 10611
December 31, 2021, 06:31:23 AM
#4
Is it possible? Is it bug? Is it collision?
Each encoded string only corresponds to a single data and can not have collision so your question is wrong to begin with since WIF is just an encoding of a 32 byte data and if that data is the same then the string (WIF) is going to be the same too and if even a single bit of it changes, the string changes too.

The second "WIF" you posted doesn't have a valid checksum.
legendary
Activity: 2380
Merit: 5213
December 31, 2021, 06:23:48 AM
#3
So, it's probably just a bug of the gobittest.appspot.com. It shouldn't give you the second WIF. It's not valid either way.
The problem is that it doesn't check the checksum when you enter a (WIF) private key.

To OP:
As already stated by BlackHatCoiner, only the first (WIF) private key corresponds to the hexademical format of the private key you posted. The second one is not valid at all.
As you see, the difference between the two (WIF) private keys you posted is only in a few last characters. That's because the tool in question doesn't check the checksum and those last characters don't make any change in the final result when deriving the hexadecimal format of the private key. 
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
December 31, 2021, 05:33:13 AM
#2
Take:
Code:
6F65E4E681B948BC85E4843BBFF14F2AAAA231059D894AC82A90BF1B511E9D73

Find the checksum (of the uncompressed version):
Code:
74D690F4

Now add prefix, the private key and the checksum:
Code:
806F65E4E681B948BC85E4843BBFF14F2AAAA231059D894AC82A90BF1B511E9D7374D690F4

Convert the above to WIF:
Code:
5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fZ

So, it's probably just a bug of the gobittest.appspot.com. It shouldn't give you the second WIF. It's not valid either way.
newbie
Activity: 2
Merit: 0
December 31, 2021, 05:26:36 AM
#1
Hello,

probably i found BTC WIF collision. According to TP's Go Bitcoin Tests webpage https://gobittest.appspot.com/PrivateKey

WIF: 5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP59SV3fZ
and
WIF: 5JfM6SDgNxT7L6xvma2UEGhJG8H9dr8gLQcW48yZEaHP5919kdr

leads to same private key:
6F65E4E681B948BC85E4843BBFF14F2AAAA231059D894AC82A90BF1B511E9D73

Is it possible? Is it bug? Is it collision?

Please share your opinions. Thank you.
Jump to: