Bitcoin Forum
December 12, 2024, 10:20:51 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Duplicate private keys question  (Read 924 times)
ifyouloveit (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
March 30, 2013, 09:41:01 AM
 #1

Hi all,

So I've been trying to understand how offline paper-wallets work and have a question regarding that.

In my understanding, creating an offline paper wallet works like this:

1. Download a webpage/script containing the algorithm for generating sets of private/public keys.

2. Go to a safe environment offline and use the script to generate a set of keys.

3. Print the keys to paper and then delete any track of the private key so that it never has been connected to any network and is thus safe forever and ever.

Now to my question. If I can generate private keys offline, wouldn't 2 people in theory be able to download the same script and generate the same private key by pure randomness?

Thanks,

jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
March 30, 2013, 10:04:24 AM
 #2

You're absolutely right!
But the odds are only 1/115792089237316195423570985008687907853269984665640564039457584007913129639936

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
ifyouloveit (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
March 30, 2013, 02:43:37 PM
 #3

So you're telling me there is a chance? Smiley
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1086


Ian Knowles - CIYAM Lead Developer


View Profile WWW
March 30, 2013, 02:47:34 PM
 #4

This has been answered many times before - basically the chances are about the same as you getting hit by lightning on the same day at the same exact time several years in a row.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
March 30, 2013, 03:03:01 PM
 #5

You'd have a better chance of winning the lotto every draw date for the next 30 years. I mean, winning the lotto is only 1 in 13 million. If you play Satoshi Dice, you have a 1 in 64k chance of getting the ultimate jackpot.

My favorite phrase is about 256 bit encryption brute force time. And they strongly imply that brute-force attacks against 256-bit keys will be infeasible until computers are built from something other than matter and occupy something other than space.

ifyouloveit (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
March 30, 2013, 03:11:55 PM
 #6

Alrighty then. Thanks!
tpantlik
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
March 30, 2013, 03:24:49 PM
 #7

Well, there could be bug in sw/script that is generating private key that could potentially lead to generating keys in smaller address space. I think something like this is unlikely to happen, but try to say this to debian maintainers  ;-)

Gods sent us a powerful tool - cryptography - to fight with those who are trying to exploit us. USE IT!!
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
March 30, 2013, 04:22:28 PM
 #8

try to say this to debian maintainers
That's low  Grin

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!