Bitcoin Forum
September 27, 2018, 10:09:14 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Private keys, 256 bits?  (Read 941 times)
jackjack
Legendary
*
Offline Offline

Activity: 1134
Merit: 1013


May Bitcoin be touched by his Noodly Appendage


View Profile
March 30, 2013, 04:09:16 PM
 #1

Hi all
I just asked Openssl to create a new DSA pkey of 256 bits.
This is what it answers:
Quote
private key length is too short; it needs to be at least 384 bits, not 256
Looks like it comes from here, where (newkey < MIN_KEY_LENGTH) is false because MIN_KEY_LENGTH=384

So what is happening here? Am I doing something wrong? Bitcoin uses a modified version of Openssl?

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.
1538086154
Hero Member
*
Offline Offline

Posts: 1538086154

View Profile Personal Message (Offline)

Ignore
1538086154
Reply with quote  #2

1538086154
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538086154
Hero Member
*
Offline Offline

Posts: 1538086154

View Profile Personal Message (Offline)

Ignore
1538086154
Reply with quote  #2

1538086154
Report to moderator
1538086154
Hero Member
*
Offline Offline

Posts: 1538086154

View Profile Personal Message (Offline)

Ignore
1538086154
Reply with quote  #2

1538086154
Report to moderator
1538086154
Hero Member
*
Offline Offline

Posts: 1538086154

View Profile Personal Message (Offline)

Ignore
1538086154
Reply with quote  #2

1538086154
Report to moderator
Zeilap
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 30, 2013, 04:22:33 PM
 #2

Bitcoin uses ECDSA.

1GLeSqooAPe8PfWbJecnL3AteDac2B3cqj
jackjack
Legendary
*
Offline Offline

Activity: 1134
Merit: 1013


May Bitcoin be touched by his Noodly Appendage


View Profile
March 30, 2013, 04:24:04 PM
 #3

Oh wow I didn't even check if they were the same... That seemed obvious to me
I feel dumb, but well, thanks!

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.
etotheipi
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1002


Core Armory Developer


View Profile WWW
March 30, 2013, 04:32:38 PM
 #4

Bitcoin uses ECDSA.

This.

ECDSA was picked for Bitcoin because it has much shorter keylengths than other digital signing scheme/crypto schemes.   For instance, all the following keylengths are approximately equal in terms of mathematical entropy:

--3,072-bit RSA key
--256-bit ECDSA key
--128-bit AES key

There is no doubt that an AES 128 key is sufficient protection, probably for decades, if not longer (protection against well-funded attacker with a billion dollars of computing resources)

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
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!