Author

Topic: Why did my wallet.dat's file size decrease after I encrypted it? (Read 1312 times)

legendary
Activity: 2142
Merit: 1010
Newbie
Many encryption procedures I've seen compress the file first.

Aye, compression reduces redundancy making it more difficult to break encrypted data.
legendary
Activity: 1974
Merit: 1029
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.
staff
Activity: 4242
Merit: 8672
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.
newbie
Activity: 40
Merit: 0
Many encryption procedures I've seen compress the file first.
legendary
Activity: 1615
Merit: 1000
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.
sr. member
Activity: 280
Merit: 250
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.
member
Activity: 107
Merit: 10
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?
Jump to: