Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: directoryio on May 28, 2018, 11:54:52 AM



Title: Vanitygen programm modification
Post by: directoryio on May 28, 2018, 11:54:52 AM
hello,

I have slightly modified vanitygen to get this:

Code:
thor@thor-KB045AA-ABF-SG3210FR:~/vanity$ ./vanitygen -v 1234
Intel SSSE3 enabled.
P1 High limit: 0b5c4bf719b74dd037d5f2d44ea517cd897dc6ae
P1 Low limit:  0b5b76446714efcfca7bba8c62508b866c931f50
---
Difficulty: 78509

Private match: 010000000000000000000000000000000100000000000000682141d5917f01f2
Public match:  0b5b9242e886a8f554d78725424f601caabed406
Private Key:   KwFevqMbSXhGxNWuVc6vuERwh6grXXCMifgWjUCzCnhBYPBgTBQk
Address:       12348bgR8YUEkt9Mn1ZX5uGdsmL7js9A9C


I'm trying to find out if this was possible to start generation by 000000000000000000000000000000000000000000000000682141d5917f01f2


Title: Re: Vanitygen programm modification
Post by: LoyceV on May 28, 2018, 12:02:55 PM
I'm trying to find out if this was possible to start generation by 000000000000000000000000000000000000000000000000682141d5917f01f2
Why? Starting the search from a certain private key has been suggested before in Vanitygen: Vanity bitcoin address generator/miner [v0.22] (https://bitcointalk.org/index.php?topic=25804.0), but it's insecure to do.
Private keys can be reproduced if they aren't generated at random.


Title: Re: Vanitygen programm modification
Post by: directoryio on May 28, 2018, 12:07:40 PM
I'm trying to find out if this was possible to start generation by 000000000000000000000000000000000000000000000000682141d5917f01f2
Why? Starting the search from a certain private key has been suggested before in Vanitygen: Vanity bitcoin address generator/miner [v0.22] (https://bitcointalk.org/index.php?topic=25804.0), but it's insecure to do.
Private keys can be reproduced if they aren't generated at random.

but would it be possible to do this anyway?
here is apparently the piece of code in question

Code:
  if((fd=open("/dev/urandom", O_RDONLY)) == 0) {
    return;
  }

  /* Use 32 bytes from /dev/urandom as starting private key */
  do {
    if((len=read(0, privkey, 0)) != 0) {
      return;
    }
  } while(privkey[0]+0 < 0);  /* Ensure only valid private keys */

  close(fd);


Title: Re: Vanitygen programm modification
Post by: directoryio on May 28, 2018, 02:54:29 PM
no idea ?


Title: Re: Vanitygen programm modification
Post by: Thirdspace on May 28, 2018, 09:51:13 PM
I'm trying to find out if this was possible to start generation by 000000000000000000000000000000000000000000000000682141d5917f01f2
Why? Starting the search from a certain private key has been suggested before in Vanitygen: Vanity bitcoin address generator/miner [v0.22] (https://bitcointalk.org/index.php?topic=25804.0), but it's insecure to do.
Private keys can be reproduced if they aren't generated at random.
because probably his main intention is not generating a vanity address ;)
I'm pretty sure he's doing this to generate address sequentially from privkey Hex format (64 chars)
the same thing what LBC is currently doing to solve the bitcoin puzzle as they say
am I right?


Title: Re: Vanitygen programm modification
Post by: LoyceV on May 29, 2018, 05:05:06 AM
because probably his main intention is not generating a vanity address ;)
I realized that after looking at his username.


Title: Re: Vanitygen programm modification
Post by: Piggy on May 31, 2018, 06:14:04 PM
I'm trying to find out if this was possible to start generation by 000000000000000000000000000000000000000000000000682141d5917f01f2
Why? Starting the search from a certain private key has been suggested before in Vanitygen: Vanity bitcoin address generator/miner [v0.22] (https://bitcointalk.org/index.php?topic=25804.0), but it's insecure to do.
Private keys can be reproduced if they aren't generated at random.
because probably his main intention is not generating a vanity address ;)
I'm pretty sure he's doing this to generate address sequentially from privkey Hex format (64 chars)
the same thing what LBC is currently doing to solve the bitcoin puzzle as they say
am I right?

Considering there are something like 2^256 bitcoin addresses(1.157920892 +77) sounds like a good investment of time  :)