Bitcoin Forum
June 21, 2024, 10:48:22 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BIP32 for the poor  (Read 619 times)
hway (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 07, 2016, 07:36:01 PM
 #1

I have an idea to make a secure keypair generator for myself.

What if I use raw 32-bit private key the way so I use 30 bytes for the key and two bytes to be like an uint32_t type integer (valued from zero to 0xffff).

Like so:   
XX:XX:XX:XX...(30 true random bytes) + YY:YY (index)

Are there any serious drawbacks compare to original BIP32?
It looks much more transparent and easy to code
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
February 07, 2016, 08:01:21 PM
 #2

I have an idea to make a secure keypair generator for myself.

What if I use raw 32-bit private key the way so I use 30 bytes for the key and two bytes to be like an uint32_t type integer (valued from zero to 0xffff).

Like so:   
XX:XX:XX:XX...(30 true random bytes) + YY:YY (index)

Are there any serious drawbacks compare to original BIP32?
It looks much more transparent and easy to code
If I have understood your proposal correctly, the keys are derived by incrementing the last two bytes. If so, then this is not secure. If anyone were to get their hands on just one of your keys, they would be able to derive every single private key in your wallet. With BIP32 HD keys, obtaining one private key would not compromise the whole wallet.

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!