Bitcoin Forum
April 23, 2024, 07:24:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 »
  Print  
Author Topic: VanitySearch (Yet another address prefix finder)  (Read 31043 times)
escope
Newbie
*
Offline Offline

Activity: 13
Merit: 24


View Profile
May 01, 2019, 06:42:02 PM
Merited by suchmoon (4), o_e_l_e_o (1), Jean_Luc (1)
 #301

Wildcard search is between 4 and 5 times slower than classic search for known prefixes. I reach ~40MK/s with my 1050 Ti and ~4MK/s with my i7-4770.
It is due to the fact that I have to compute full address each time and it requires 2 SHA for the checksum and a base58 encoding. For the CPU release, I implemented SSE checksum and I will try to implement SSE Base58 encoding using Barret's reduction (for computing div and mod 58).
Thank you very very much! I am really looking forward to a new commit.

Has anyone put together (or started to put together) a list of CPUs / Video Cards & the speed you can get out of them.
Anything else?
GPU: GPU #0 GeForce GTX 750 (4x128 cores) Grid(32x128)
104.960 MK/s (GPU 94.405 MK/s) (2^32.12)

GPU: GPU #0 GeForce RTX 2070 (36x64 cores) Grid(288x128)
1535.880 MK/s (GPU 1470.257 MK/s)
Oh my take my money I want buy that now
1713857076
Hero Member
*
Offline Offline

Posts: 1713857076

View Profile Personal Message (Offline)

Ignore
1713857076
Reply with quote  #2

1713857076
Report to moderator
1713857076
Hero Member
*
Offline Offline

Posts: 1713857076

View Profile Personal Message (Offline)

Ignore
1713857076
Reply with quote  #2

1713857076
Report to moderator
1713857076
Hero Member
*
Offline Offline

Posts: 1713857076

View Profile Personal Message (Offline)

Ignore
1713857076
Reply with quote  #2

1713857076
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6231


Crypto Swap Exchange


View Profile WWW
May 01, 2019, 06:55:58 PM
 #302

Wildcard search is between 4 and 5 times slower than classic search for known prefixes. I reach ~40MK/s with my 1050 Ti and ~4MK/s with my i7-4770.
It is due to the fact that I have to compute full address each time and it requires 2 SHA for the checksum and a base58 encoding. For the CPU release, I implemented SSE checksum and I will try to implement SSE Base58 encoding using Barret's reduction (for computing div and mod 58).
Thank you very very much! I am really looking forward to a new commit.

Has anyone put together (or started to put together) a list of CPUs / Video Cards & the speed you can get out of them.
Anything else?
GPU: GPU #0 GeForce GTX 750 (4x128 cores) Grid(32x128)
104.960 MK/s (GPU 94.405 MK/s) (2^32.12)

GPU: GPU #0 GeForce RTX 2070 (36x64 cores) Grid(288x128)
1535.880 MK/s (GPU 1470.257 MK/s)
Oh my take my money I want buy that now

1) added
2) Amazon. The source of all things: https://amzn.to/2Li0UsI

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 4718
Merit: 4223


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
May 01, 2019, 06:59:50 PM
 #303

Wildcard search is between 4 and 5 times slower than classic search for known prefixes. I reach ~40MK/s with my 1050 Ti and ~4MK/s with my i7-4770.
It is due to the fact that I have to compute full address each time and it requires 2 SHA for the checksum and a base58 encoding. For the CPU release, I implemented SSE checksum and I will try to implement SSE Base58 encoding using Barret's reduction (for computing div and mod 58).
Thank you very very much! I am really looking forward to a new commit.

Has anyone put together (or started to put together) a list of CPUs / Video Cards & the speed you can get out of them.
Anything else?
GPU: GPU #0 GeForce GTX 750 (4x128 cores) Grid(32x128)
104.960 MK/s (GPU 94.405 MK/s) (2^32.12)

GPU: GPU #0 GeForce RTX 2070 (36x64 cores) Grid(288x128)
1535.880 MK/s (GPU 1470.257 MK/s)
Oh my take my money I want buy that now

1) added
2) Amazon. The source of all things: https://amzn.to/2Li0UsI

-Dave

I underclock my cards so I'm not sure I should post the speeds, but I can say that the 2070 outperforms the 1080ti and even the liquid cooled model by a little bit, and uses significantly less power while doing so.  The 2070 is a great buy for this purpose in my opinion.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
stortz
Jr. Member
*
Offline Offline

Activity: 40
Merit: 15


View Profile
May 01, 2019, 08:15:35 PM
Last edit: May 01, 2019, 11:55:09 PM by stortz
 #304

Hello,

it ran, but just closed after finding it
did it generate the private keys into a file?
I am confused

To output the key in a file, use the -o option.
Code:
VanitySearch -stop -gpu -o key.txt 1stortz

Many thanks stivensons for the report Smiley


this setup worked
perhaps  you should make it as a default setting

Code:
-stop -gpu -o key.txt 1<name>
this is the code I added to the shortcut to the program, as you pointed. It worked perfectly.

edit:
also, Is it possible to add this address to a specific electrum wallet? I don't think it's possible without creating a new wallet, correct?
Lolo54
Member
**
Offline Offline

Activity: 117
Merit: 32


View Profile
May 01, 2019, 09:23:41 PM
Merited by Jean_Luc (1)
 #305


Quote
I underclock my cards so I'm not sure I should post the speeds, but I can say that the 2070 outperforms the 1080ti and even the liquid cooled model by a little bit, and uses significantly less power while doing so.  The 2070 is a great buy for this purpose in my opinion.
Exact OgNasty the RTX 2070 is the best performance / price compromise .... just look at the TESLA V100 $ 10000 scores for 50% extra speed or a 2080 TI twice as expensive as a 2070 but for a result that is not doubled in terms of speed ... if in addition we take into account the power consumption the RTX 2070 is very correct
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 12:41:36 PM
 #306

Thanks to all for these performance reports. I appreciate it Smiley
Note that the Tesla V100 result was with an old release.
If i compare to the result of the 1080 ti  posted in the same SlarkBoy's post, 1255M/Ks for 2 1080Ti, (627MK/s per board), and the result from here (1001 MK/s) we may expect a 60% speed increase on the Tesla with last VanitySearch release (~2800MK/s).
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 12:47:21 PM
 #307

also, Is it possible to add this address to a specific electrum wallet? I don't think it's possible without creating a new wallet, correct?

You can use Wallet->Private keys>Import to import address(es) (giving the corresponding private key(s)) in the current opened wallet.
I'm using Electrum 3.3.4.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 04:32:08 PM
 #308

and ?
did you manage to exploit something ?
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 05:19:14 PM
 #309

Why do you want to implement in a different way ?
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 06:28:41 PM
Merited by suchmoon (4), ABCbits (1), Nestade (1), escope (1)
 #310

I don't, you do, and if you want people to use it, you are going to have to do something.

The way pbkdf2_hmac_sha512 is implemented is safe, long passwords (>128 characters for SHA512) are truncated to 128.
No change needed here unless someone finds a trap of really wants password longer than 128 char.

Hi,

I just remembered a few features of "profanity" used for ETH-addresses:

Code:
    --letters               Score on letters anywhere in hash.
    --numbers               Score on numbers anywhere in hash.
    --mirror                Score on mirroring from center.
Source: https://github.com/johguse/profanity

Would it be possible to implement those "modes" into VanitySearch?

Hi,
Yes it could be done but I still have work with fast base58 encoding and I will be off the next week.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 02, 2019, 08:19:43 PM
 #311

On page ten of this thread, you concede there is at least one exploit for someone resourceful, assuming you know what you are saying or doing.

Yes if you don't use a seed, for very short prefix. But it will still require lot's of power.
Again, I recommend to use a strong password (-s option) to generate safe base key.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 03, 2019, 04:29:23 AM
Last edit: May 03, 2019, 04:43:28 AM by Jean_Luc
 #312

Yes if you don't use a seed, for very short prefix. But it will still require lot's of power.
Again, I recommend to use a strong password (-s option) to generate safe base key.

And I recommend to the community not to use this, if he doesn't modify it.

The default seed has an entropy of ~48bit (if you manage to guess the date of the address creation), so to guess a key generated by the default seed used by VanitySearch, you need to execute ~2^48 pbkdf2_hmac_sha512 and to run  ~2^48 times the search up to the desired prefix. I let you do the calculation of the necessary power to compute an address in a feasible time when you know the day of an address creation Wink
But ok, I will modify the code and add the PID, it will add 16 more bits to the default seed entropy.

There are 2 ways to generate safe addresses:

1) Use a strong seed.
2) Use a split key (-sp) with a public key generated by a third party software (In that case, VanitySearch cannot suffer from any vulnerability)
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 03, 2019, 07:13:18 AM
Merited by OgNasty (1)
 #313

The default seed has an entropy of ~48bit (if you manage to guess the date of the address creation),

That is inexcusably small, and adding a PID to it wouldn't make it meaningfully better.

Strengthening can be a useful tool in the rare case where there isn't any alternative, but it doesn't replace having good entropy to begin with. The only systems that should use weak entropy (plus strengthening) are ones where the unrelated-to-you brute force attackers shouldn't exist (e.g. where they need a secret database to even begin the attack) and where there can be a strong nonce to prevent parallel attack speedups and precomputation.

Every operating system offers a source of cryptographically strong random numbers. Why isn't it using 256-bits (or at least 128 bits) of OS provided entropy?
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 03, 2019, 07:54:56 AM
 #314

Every operating system offers a source of cryptographically strong random numbers. Why isn't it using 256-bits (or at least 128 bits) of OS provided entropy?

At the beginning the default seed was used especially to allow the program to be run easily and I always recommend to users to use a seed for generating safe keys. You're right, it is better to suppress the default seed and to force user to use a password or a split key. OS random number are still coming from PNRG and a failure might always be found on them.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 03, 2019, 09:58:58 AM
Merited by ABCbits (1)
 #315

OS random number are still coming from PNRG and a failure might always be found on them.
The OS is going to be much more random than the user, even if the OS has issues.  Moreover, if the user's OS rng is faulty then their security would be totally broken in every other respect as well.

If you want to be paranoid you can combine the OS randomness with user provided keyboard mashing using a cryptographic hash... but please don't just depend on users to provide a truly random value on their own: humans are notoriously bad at it, and that structure reliably results in funds loss.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
May 03, 2019, 10:39:52 AM
Last edit: May 03, 2019, 10:52:43 AM by Jean_Luc
 #316

The OS is going to be much more random than the user, even if the OS has issues.  Moreover, if the user's OS rng is faulty then their security would be totally broken in every other respect as well.

If you want to be paranoid you can combine the OS randomness with user provided keyboard mashing using a cryptographic hash... but please don't just depend on users to provide a truly random value on their own: humans are notoriously bad at it, and that structure reliably results in funds loss.

OK for the paranoid mode.
Edit: I would just add the nuance that humans especially bad at password generation when they have to recall it, which is not the case here.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 03, 2019, 09:47:55 PM
 #317

Edit: I would just add the nuance that humans especially bad at password generation when they have to recall it, which is not the case here.
They are necessarily bad at it when they must remember it, but they are bad at it by habit otherwise-- at least if they think it's a password.  But really, using the OS is free, there is no reason to not use it in such cases. Smiley
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6231


Crypto Swap Exchange


View Profile WWW
May 04, 2019, 02:20:16 PM
 #318

A possible issue. I don't know if it's just my setup (probably is)
Offline PC so I don't have exact time of crash BUT it feels to be every 10 days or so.
I came into the office and VS just *stopped* no crash no error just sitting at the command prompt.

8 core CPU that I am running 4 threads on + gpu
Liquid cooled cpu never even gets warm
1200 watt EVGA power supply so I know that's not the issue.

It happened on 1.12 and now on 1.13. I never had the older ones running long enough to see this

What I am running (just restarted it):

C:\Users\Dave\Desktop>vanitysearch -gpu -t 4 1iamdavef
VanitySearch v1.13
Difficulty: 2988734397852221
Search: 1iamdavef [Compressed]
Start Sat May  4 10:13:32 2019
Base Key: 49B45ED3DCA15AC7892AA9EF1338DA185DC2D2ABC7730D2A4CB7ED8FD9F73ACB
Number of CPU thread: 4
GPU: GPU #0 GeForce GTX 1080 (20x128 cores) Grid(160x128)
726.926 MK/s (GPU 697.399 MK/s) (2^33.27) [P 0.00%][50.00% in 33.6d][0]

I ran the same thing before. But when I came into the office it was just sitting here:

C:\Users\Dave\Desktop>

Didn't find a thing....

Win10 all updates / 8GB RAM if it matters.

Thanks,
Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
RobertPaulig
Newbie
*
Offline Offline

Activity: 7
Merit: 1


View Profile
May 05, 2019, 01:12:51 AM
Merited by DaveF (1)
 #319

A possible issue. I don't know if it's just my setup (probably is)
Offline PC so I don't have exact time of crash BUT it feels to be every 10 days or so.
I came into the office and VS just *stopped* no crash no error just sitting at the command prompt.

8 core CPU that I am running 4 threads on + gpu
Liquid cooled cpu never even gets warm
1200 watt EVGA power supply so I know that's not the issue.

It happened on 1.12 and now on 1.13. I never had the older ones running long enough to see this

What I am running (just restarted it):

C:\Users\Dave\Desktop>vanitysearch -gpu -t 4 1iamdavef
VanitySearch v1.13
Difficulty: 2988734397852221
Search: 1iamdavef [Compressed]


I had this problem. You probably have overclocking the graphics card chip. Although the game may not experience problems and even at work. On 10 day can crash . Lower the GPU frequency or increase the voltage on the video core.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6231


Crypto Swap Exchange


View Profile WWW
May 05, 2019, 03:55:56 PM
 #320

A possible issue. I don't know if it's just my setup (probably is)
Offline PC so I don't have exact time of crash BUT it feels to be every 10 days or so.
I came into the office and VS just *stopped* no crash no error just sitting at the command prompt.

8 core CPU that I am running 4 threads on + gpu
Liquid cooled cpu never even gets warm
1200 watt EVGA power supply so I know that's not the issue.

It happened on 1.12 and now on 1.13. I never had the older ones running long enough to see this

What I am running (just restarted it):

C:\Users\Dave\Desktop>vanitysearch -gpu -t 4 1iamdavef
VanitySearch v1.13
Difficulty: 2988734397852221
Search: 1iamdavef [Compressed]


I had this problem. You probably have overclocking the graphics card chip. Although the game may not experience problems and even at work. On 10 day can crash . Lower the GPU frequency or increase the voltage on the video core.

Stock settings on the card.
It's not even using the EVGA drivers, just the latest one from nvidia.
Next time it crashes I will install the EVGA drivers and see if upping voltage helps.

Thanks,
Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 »
  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!