Bitcoin Forum
June 28, 2024, 10:39:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Exported private keys with password always different?  (Read 487 times)
f3tus (OP)
Sr. Member
****
Offline Offline

Activity: 317
Merit: 275


View Profile
May 19, 2014, 03:16:29 PM
 #1

I exported my wallet's private key encrypted before, and did it again today, and the encrypted keys don't match. Why is that? Is this normal?
prof7bit
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 19, 2014, 10:20:36 PM
 #2

I exported my wallet's private key encrypted before, and did it again today, and the encrypted keys don't match. Why is that? Is this normal?

The keys don't match? Did you decrypt the file and compared the keys inside or what do you mean? The file itself will always be different because a random initialization vector is used during encryption. This does not mean the contents (after decryption) differ. You can see what is actually inside the file by opening it with wallet-key-tool (or by manually decrypting it on the command line with openssl).

f3tus (OP)
Sr. Member
****
Offline Offline

Activity: 317
Merit: 275


View Profile
May 20, 2014, 08:14:08 AM
 #3

The file itself will always be different because a random initialization vector is used during encryption. This does not mean the contents (after decryption) differ.
Oh, okay, that explains it! Thanks.
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!