Bitcoin Forum
November 22, 2017, 06:17:36 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Simple addr/key gen?  (Read 526 times)
Realpra
Hero Member
*****
Offline Offline

Activity: 819


View Profile
March 25, 2013, 07:44:23 AM
 #1

Hello I was wondering if there was a really simply open source program for generating addr./key pairs.

Preferably in C# using standard MS crypto-libraries.

I want to be able to step through it and be 100% sure there is no trickery. Its fine if the input/output is nothing but a C# console app with no options.


(The bitcoinaddress.org is JS and too long to confirm for me.)

Cheap and sexy Bitcoin card/hardware wallet, buy here:
http://BlochsTech.com
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511331456
Hero Member
*
Offline Offline

Posts: 1511331456

View Profile Personal Message (Offline)

Ignore
1511331456
Reply with quote  #2

1511331456
Report to moderator
1511331456
Hero Member
*
Offline Offline

Posts: 1511331456

View Profile Personal Message (Offline)

Ignore
1511331456
Reply with quote  #2

1511331456
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2324



View Profile
March 25, 2013, 08:10:37 AM
 #2

Preferably in C# using standard MS crypto-libraries.

 - https://github.com/casascius/Bitcoin-Address-Utility

Cubic Earth
Hero Member
*****
Offline Offline

Activity: 854


View Profile
March 25, 2013, 08:18:34 AM
 #3

I have a simple work around for your problem.  Take a private key that bitaddress.org has generated, add a recognizable word to it and then make random deletions of other parts of the key equal to the number of letters in you chosen word (so the key stays the same length).  Then make several other 'random' substitutions of your own choosing.  At this point your key should be unknowable and unguessable EVEN IF bitaddress.org was feeding you non-random private keys to begin with.  Then use bitaddress.org to make an address out of your modified private key.  To make sure it is giving you the address that ACTUALLY corresponds with your custom private key, double check by feeding the private key into Armory and make sure the resulting addresses are identical.  Check against a third program if you are still paranoid.  Finally, check to make sure your recognizable word is in the private key at all times, to make sure nothing has been switched on you.

 This method is a little bit tedious, but I believe it ensures against all possible methods of trickery, unless all of the programs you use to do the verification are malicious in the same way.  People might argue that adding a known word to the private key makes it less random.  Sure.  It does.  But even if you reduce the key space from 256-bits to 200-bits, it is still secure by todays methods.  256-bits is no good if someone knows the code.


      ███████
   █████████████
 █████████████████
███████     ███████
██████       ██████
██████       ██████
 ██████     ██████
  ███████████████
   █████████████
    ███████████
     █████████
      ███████
       █████
        ███
         █
       ██████
     ██      ██
    █ ████████ █
     ██ █  █ ██
      ████████
.


                                 ▒▓▓    ▒▓▓                                                                                             ▒▓▓
                                ▒▒▒▓    ▒▒▓                                                                                            ▒▒▒▓
                               ▒▒░▓    ▓▒▓                                                                                            ▒▓▓▓
                              ▒▓▓▓    ▓▓▓                                                                                             ▒▓▓
    ▓▓▒▒▒░▓░░      ▒▓▓▓▓▒     ▒▓▓    ▒▓▓    ▓▓▒  ▓▓▓▒   ▓▓▓▓▓     ▓▓▒     ▓▓▓      ▓▒▒▓▒ ▓▓      ▓░▓▒▓▓        ▒▒▒▓▒▓▓        ▒▓▓▓▓▒ ▓▓▓
  ▓▓▓▒   ▓▓▓░░  ▒▓▓▓▓▒▓▓▒▒   ▒▓▓    ▒▓▓    ▒░▓░▓▓▓▓▓▓ ▓▓▓ ▓▓▓▓   ▓▓▓▓    ▒▒▓▓   ▓▒▒▓▓▓▓░▓░▓   ▒░▒▓▓▓▓▓▒▓     ▓▒▒▓▓▓▓▓░▓     ▓▒▒▓▓▓▓ ▓▓▓
 ▓▓▓          ▒▓▓▓▓▒   ▓▓   ▓▓▓    ▓▓▓    ▓░▓▓▓   ▓▓▓▓▓   ▓▓▓▒  ▓▓▒▓     ▓▓▓  ▓▒▓▓▓   ▓▓▓▓▒  ▓▓▓▒▓▓▓ ▒▒▓▒  ▒▒▓▓ ▓▓  ▓▒▓   ▓▒▓▓▓   ▓▓▓▓
 ▓▓▓▒        ▓▓▓▓▒   ▓▒▓   ▓▓▓    ▓▓▓    ▓▓▓▓    ▒▓▓▓    ▒▒▒▒  ▓▓▓▓     ▓▓▓  ▓▓▓▓     ▓▓▓▓  ▓▓▓  ▓▓▓ ▓▒▓  ▓▓▓▒  ▓▓  ▓▓▓  ▓▓▓▓    ▒▓▒▓
  ▓▓▓▓▓     ▒▓▓▓▓▓▓▒▒▓▒   ▓▓▓    ▓▓▓    ▓▓▓▒     ▓▓▓    ▒░▒▓  ▓▓▓▓     ▓▒▓  ▓▓▓▒     ▓▓▓▓  ▓▓▓   ▓▓▓▓▓▓  ▓▓▓▒   ▓▓▓▓▓▓  ▓▓▓     ▒▓▒▓    ▓▓▒
     ▒▓▒▓  ▒▓▓▓         ▒▓▓▓    ▓▓▓    ▓▓▓▓     ▓▓▓     ▓▓▓  ▓▓▓▓    ▒▓▓▓   ▓▓▓    ▒▓▓▓▓  ▓▓▓     ▓▓▓▓  ▓▓▓▓    ▓▓▓▓▓  ▓▓▓▒    ▓▓▓▓   ▒▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓       ▒▓▓▓▓▓  ▓▓▓▓▓  ▒▓▓▓▓     ▓▓▓     ▓▓▓  ▓▓▓▓    ▓▓▓▓    ▓▓▒   ▓▓▓▓▓   ▓▓▓    ▓▓▓▓▓▓▓▓▓▓▒    ▓▓▓▓▓▓▓▓▓▓    ▓▓▓▓   ▓▓▓▒
▓▒   ▒▓▓▓▒   ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓     ▓▓▓▒     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓     ▓▓▓▓▓▓▓▓▓▓    ▓▓▓▒ ▓▓▓▓░ ░▒░░▓▓▓  ▓▓▓▒░ ▒▒░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
 ▓▓▓▓▓▓        ▒▓▓▓▓▒    ▒▓▓▓▒  ▒▓▓▓▒ ▓▓      ▓▓       ▒▓▓▒    ▓▓▓ ▓▓▓            ▓▓▓       ▓▓▓▓░░       ░▒▓▓▓▓░░        ▒▓▓▒   ▒▓▓
                                                                  ▓▓▓       ▒▓▓▒ ▓▓▓   ▓
                                                          ▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▒▒▒▓▓▓
                                                         ▓▓▒   ▒▓▓▓     ▒▓▓   ▓▓▓▓
                                                         ▓▓▒ ▓▓▓▓▒      ▓▓▓▒▓▓▓▓▓
                                                           ▒▒▒▒▒         ▒▒▒▒▒
.
  DECENTRALIZED E-COMMERCE ECONOMY
.]
  E-CASH PRESALE 
November 20th
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!