Bitcoin Forum
April 24, 2024, 08:09:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why did my wallet.dat's file size decrease after I encrypted it?  (Read 1296 times)
forbun (OP)
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
November 04, 2013, 10:40:43 PM
 #1

My wallet.dat's filesize was 70 KB.

I encrypted it with bitcoin-qt.

Then it was 53 KB.

How can I verify that it's encrypted properly?

Assuming I have a very secure password, it's safe for me to widely distribute my new, encrypted wallet.dat, right?

What name would you give to the smallest unit of bitcoin (0.00000001)? sat. What name would you give to 100 sats? bit. 1 bit = 1 uBTC. 1,000,000 bits = 1 BTC. It's bits
1713989387
Hero Member
*
Offline Offline

Posts: 1713989387

View Profile Personal Message (Offline)

Ignore
1713989387
Reply with quote  #2

1713989387
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713989387
Hero Member
*
Offline Offline

Posts: 1713989387

View Profile Personal Message (Offline)

Ignore
1713989387
Reply with quote  #2

1713989387
Report to moderator
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
November 04, 2013, 10:42:59 PM
 #2

My wallet.dat's filesize was 70 KB.

I encrypted it with bitcoin-qt.

Then it was 53 KB.

How can I verify that it's encrypted properly?

Assuming I have a very secure password, it's safe for me to widely distribute my new, encrypted wallet.dat, right?

You should download truecrypt and make an encryption volume. The bitcoin-qt encryption is very basic.
rebuilder
Legendary
*
Offline Offline

Activity: 1615
Merit: 1000



View Profile
November 05, 2013, 12:07:31 AM
 #3

If you have enough BTC in that wallet to worry about the encryption holding up, you should be worried about your computer getting compromised. Get a linux livecd or make a bootable usb, boot up, make a paper wallet while offline. Encrypted, if you prefer. Never let the private key touch an online system until you want to spend the coins. Brownie points for signing the transaction offline when you do decide to spend.

Selling out to advertisers shows you respect neither yourself nor the rest of us.
---------------------------------------------------------------
Too many low-quality posts? Mods not keeping things clean enough? Self-moderated threads let you keep signature spammers and trolls out!
yakov
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
November 05, 2013, 01:28:36 AM
 #4

Many encryption procedures I've seen compress the file first.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
November 05, 2013, 02:15:59 AM
 #5

My wallet.dat's filesize was 70 KB.
I encrypted it with bitcoin-qt.
Then it was 53 KB.
It rebuilds the file which compacts it by removing housekeeping space that BDB kept around. It should almost always be smaller.

Quote
Assuming I have a very secure password, it's safe for me to widely distribute my new, encrypted wallet.dat, right?
I wouldn't advise it. You'll reduce your security from two factor to one factor... and the encryption doesn't protect your privacy it only prevents spending/signing. Also, the wallet will eventually go out of sync once you've used up the keypool.
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
November 05, 2013, 07:22:29 AM
 #6

You should download truecrypt and make an encryption volume. The bitcoin-qt encryption is very basic.

Citation needed. I understand it's AES with a variable number of rounds. The weakest part in the wallet's encryption is your passphrase.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
November 05, 2013, 01:15:56 PM
 #7

Many encryption procedures I've seen compress the file first.

Aye, compression reduces redundancy making it more difficult to break encrypted data.
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!