Bitcoin Forum
November 23, 2017, 12:05:49 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why did my wallet.dat's file size decrease after I encrypted it?  (Read 1231 times)
forbun
Member
**
Offline Offline

Activity: 107


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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Kenshin
Sr. Member
****
Offline Offline

Activity: 280


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: 1618



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

Activity: 40


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

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

Activity: 2338



View Profile
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.

Bitcoin will not be compromised
dserrano5
Legendary
*
Offline Offline

Activity: 1848



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
*
Online Online

Activity: 1778

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:  

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!