Questions tagged [encryption]

Encryption is the process of encoding information into a ciphertext that only authorized parties can decode. Encryption isn't used in the Bitcoin protocol itself, however it can be used e.g. for encrypting wallet backups or peer-to-peer communications.

Filter by
Sorted by
Tagged with
0 votes
1 answer
715 views

What is the electrum bitcoin wallet password encryption method?

What method does Electrum bitcoin wallet use for password encryption? I want to check to see if the file encrypted with the password is secure. And what are the ways around to decrypt it outside the ...
0 votes
0 answers
41 views

Old encrypted wallet + bitcoin core

I got desperate, I tried all the instructions I could find on the Internet - nothing helps. What I have: wallet.dat from bitcoin-core encrypted from 2015 (in four different places) the password I ...
0 votes
1 answer
192 views

wallet seem to be encrypted or corrupt

I found my wallet but i cannot access it tryed with bitcoin core. But gives error i think i encrypted or corrupted file. I openend with WinHex but only see 2020 in it.try to find hash but no succes. i ...
0 votes
1 answer
64 views

Access restored but encrypted/locked old wallet (2013 version)

I Installed Bitcoin Core v25.0.0 and restored my old wallet backup made in 2014 (with bitcoin core version of 2013) successfully. The wallet is shown, status is encrypted and locked. Trying to unlock ...
0 votes
1 answer
248 views

How to get information from electrum wallet?

I have my wallet file and it is encrypted with a password. How to decrypt wallet file using code? Encryption seems similar to Fernet.
0 votes
1 answer
192 views

can I Re- encryp my wallet with a wallet.dat file from before encryption

My computer crashed and I lost access to my bitcoin wallet.. before that happened I knew I had lost my passphrase so when trying to recover my wallet with my wallet.dat I looked for a very early dated ...
2 votes
0 answers
47 views

Bitcoin Core stores public keys and balance unencrypted, a few questions

I came across this statement in the Sparrow Wallet documentation; Unfortunately, Bitcoin Core stores your public keys and balance unencrypted on the computer it is running on. If this computer is ...
3 votes
1 answer
234 views

Is BIP324 v2transport redundant on Tor and I2P connections?

Just testing the recent BIP324 on my node, since Bitcoin Core v26 and having v2transport=1 in bitcoin.conf set, I have noticed that I am receiving some incoming connections using the v2 transport ...
1 vote
0 answers
77 views

Decrypting wallet

I'm seeking assistance with understanding the technical aspects of how Electrum wallets handle parsing errors and potential solutions for resolving them. My friend has encountered a recurring issue ...
2 votes
2 answers
241 views

Encrypted message with nLockTime

I know you can delay a transaction's accepted date by using nLockTime. I'm still looking for the simplest way to generate a transaction with nLockTime, but that's another topic. I'm wondering if ...
1 vote
3 answers
913 views

Practical application of Electrum's Encrypt/Decrypt message feature?

It's pretty clear how signing a message with a Bitcoin key can be useful in proving ownership of funds. However, it's far from clear how encrypting a message with a Bitcoin key can do anything useful....
0 votes
1 answer
156 views

severity of bitcoin vulnerability to AES crack

In the event that AES is cracked, what are the implications for the consensus layer of bitcoin? What are the implications for user's bitcoin wallets? On average, how many bitcoin would be available to ...
4 votes
1 answer
243 views

BIP324 encrypted packet structure

I recently saw the BIP 324 proposal. It shows us there can be some privacy enhancement by using ECDH secrets and encryption algorithms such as ChaCha20 and AEAD-ChaCha20-Poly1305. The proposal ...
19 votes
3 answers
20k views

Are there Bitcoin password crackers I can use to recover forgotten passwords?

I've lost the password to one of my wallets (it's a small one, don't worry). I was sure I remembered the password ... but evidently I don't. Is there a program that I can use to brute-force my ...
0 votes
0 answers
50 views

If I solved y²= (x³ * ax * b) mod p [as it is] what would I gain or be able to do with it's algorithm?

So the calculations for secp256k1 affirm to the formula y² = (x³ * ax * b) mod p of which is said to be impossible to calculate (as is) because of arbitrary large numbers involved. Hypothetically if ...
0 votes
0 answers
34 views

How does Blocktrail encrypt its wallet backup information which is in PDF file?

I have BTC.com Bitcoin Wallet Recovery Backup Sheet and i do not like the idea behind Blocktrail's wallet process because it doesn't give you an option to save your seed or private key but it just ...
1 vote
0 answers
28 views

In which format (format, not cypher algo.) does Electrum encrypt its files?

Electrum wallet encrypts its files using the AES-256-CBC algorithm, but in which format does it encrypt files? (I mean, what headers, vectors, checksums etc. it adds and where?) By format I mean ...
14 votes
3 answers
4k views

How would one "Encrypt" a message using a Bitcoin *public key* and use its private key to decrypt it?

I have the following text string: This is a test message. Using my bitcoin public key (bitcoin address?), how can I encrypt this message? How would I decrypt the message using a bitcoin private key?
1 vote
0 answers
669 views

How to recover from forgotten password for Bitcoin Wallet for Android backup?

Back in 2016, I had a Bitcoin wallet with a couple of euros worth of Bitcoin. I used the Android app "bitcoin wallet" to backup my wallet but I had to use a password. This week, I found the ...
0 votes
1 answer
58 views

Why does the Bitcoin network encrypt the transaction data? [duplicate]

The whole process of encryption sounds useless to me. Miners/validators and full nodes need to verify each transaction. They need two pieces of information: The original transaction data The ...
1 vote
1 answer
115 views

How may bitcoins hash algorithm be secured in the future from quantum computing brute forcing?

Other threads already answer very clearly that quantum comps could easily "break" /attack bitcoins chain. Now: Are there any ideas among the bitcoin devs circulating out there, how to save bitcoin ...
1 vote
0 answers
1k views

How do I get my encrypted private key converted?

"addr": "typicalbitcoinaddress", "compressed": true, "encrypted_privkey": "this is my private key that is 96 characters long", "label": "Wallet", "pubkey": ...
47 votes
8 answers
77k views

How long would it take a large computer to crack a private key?

I am doing a presentation on Bitcoins and I was looking for some calculations to make people feel safe about the private key encryption. Please first answer, how long in bytes the private key is, ...
7 votes
2 answers
2k views

Is this how I should calculate a Double SHA256

So I have a function called sha256 which will take a string and return the SHA-256 hash. var First = sha256('myfirstSHA'); And the output is the hex: ...
0 votes
1 answer
42 views

For mobile wallets that don't ask for a password, how are keys encrypted on your device?

I've used wallets that give a seed phrase, but don't ask for a password to send coins (signing a transaction). I can't imagine they encrypt with the seed phrase since you don't ever re-enter the seed ...
0 votes
1 answer
335 views

Are hardware wallet seeds cross compatible over all brands and even software wallets?

I had a discussion today and I'm really confused. What I though is happening with each hardware wallet is this: Seed (BIP39) 1 --> HW Wallet (ledger) --> chip1 + seed = private key 1 Seed (...
0 votes
2 answers
758 views

Why is Bitcoin Core not asking me to enter the decryption key for my allegedly "encrypted" wallet.dat?

I created a wallet.dat with Bitcoin Core on a new PC. Then I encrypted it with the GUI menu. When I reloaded that computer, I was shocked to see that Bitcoin Core did NOT ask me to decrypt/unlock the ...
1 vote
2 answers
2k views

Should I be using the "encrypt wallet" feature in Bitcoin Core?

All my wallet.dats have no password. However, the internal hard disk where the "live" one is located is encrypted, and so are the offline storage devices where I have my "cold" ...
0 votes
1 answer
229 views

BTC Treasure hunt

Alright, I’m new to Bitcoin/Crypto, and this might be a long story but worth it. My life long friend had a $50 Visa gift card back in 2009-2011. His friends were over the house one day and mentioned ...
3 votes
1 answer
177 views

Why does the chacha20 implemented in the Bitcoin Core use a 64 bit nonce?

The draft of chacha20 uses a 64-bit nonce, but the final version of chacha20 specification uses a 96-bit nonce. The #9792 PR adds chacha20 to Bitcoin Core. We can see the function ChaCha20::SetIV(...
1 vote
1 answer
336 views

Why does Bitcoin Core's RPC interface not use encryption?

As the Bitcoin Core docs state: Although Bitcoin Core's RPC interface does use authentication, it does not use encryption, so your login credentials are sent as clear text that can be read by anyone ...
4 votes
2 answers
8k views

Private key to WIF process

I have a private key for a storage bitcoin wallet (there's not much in there I'm just testing methods) but it is in private key form and to import it to my main wallet I need to convert it into WIF. ...
0 votes
1 answer
232 views

Can you get the seed phrase of a HD wallet from the private key of one of the wallets?

Let us say I have a HD wallet. Can I get it’s seed phrase from the private key of one of its wallets? Also are seed phrases just easy to remember private keys? If so does that mean that from the seed ...
-1 votes
2 answers
85 views

Bitcoin core wallet backup corrupted by an external tool [closed]

Do you know if my wallet.dat which has become wallet.axx due to incorrect handling of an external program (I do not know the name of the program, but it is used to encrypt Windows files) has the ...
0 votes
1 answer
66 views

Security concerns with walletpassphrase

I have some security concerns with walletpassphrase: If it stores the passphrase for some unit of time. ie. so you can send funds, surely if the server is compromised, within that timeframe, the ...
2 votes
1 answer
312 views

Decrypting Bitcoin Core wallet with password that contains special characters

I have come across a Bitcoin Core wallet that uses a special character for the passphrase. When attempting to decrypt, it accepts the password but does not decrypt part of the keys. Is there a known ...
0 votes
1 answer
147 views

Public key Exceeding Mod P? A Clarification Request On The Discrete Logarithm Problem

I tried to observe / implement the discrete logarithm problem but I noticed something about it; but before I get into it let me give some clarification which is open to correction. a = b^x mod P ...
1 vote
1 answer
86 views

Multi Party ECDSA?

Are there any alternatives to the Multi Part ECDSA implementation contributed by ZenGo?
1 vote
1 answer
799 views

Recovering my old bitcoin wallet

As far as I can tell, my old bitcoin wallet got corrupted. It was created in Bitcoin Core in the 2014/2015s, and I'm trying to recover it. Bitcoin Core doesn't accept it anymore (and doesn't give an ...
0 votes
1 answer
169 views

Is my cold wallet still cold?

I created a new wallet.dat on a dedicated, secured machine with Bitcoin Core. Then I encrypted it. Then I sent my "fortune" of coins to it. Then I backed the file up by putting it on all my ...
1 vote
1 answer
232 views

Isn't an encrypted wallet.dat automatically a "watch-only" wallet?

I have encrypted my wallet.dat outside of this computer. Now I store my wallet.dat on this computer. If I open it in Bitcoin Core, I can view the balance but not spend it (without entering the ...
2 votes
1 answer
2k views

To test if my wallet.dat encryption password is correct, MUST I spend coins?

When a Bitcoin Core wallet is encrypted, you (apparently) have to enter the decryption passphrase only when trying to spend coins. You still get to "use" the wallet as in seeing all the ...
1 vote
3 answers
245 views

Ironically, encryption is not an important part of bitcoin (?)

The above statement is taken out of a book which I've been reading: Mastering Bitcoin 2nd Edition. ...as its communications and transaction data are not encrypted and do not need to be encrypted ...
0 votes
1 answer
2k views

How long would it take to break a 32 bit key / encryption [closed]

I was actually wondering... How long would it take to crack/brute force a 32 bit key/encryption and a 16 bit key/encryptions respectively?
3 votes
2 answers
5k views

Is this how to generate a bitcoin address with python?

So I have already the public key. My question is if I'm applying correctly the b58 encoding, since bitcoin uses b58check, and also adds x00 prefix. Can somebody explain me that? Thanks. import ...
0 votes
1 answer
135 views

Should I Encrypt my Wallet for Cold Storage?

I understand that the Bitcoin QT wallet is already encrypted to some extent when I use a password. Is it best-practice to further encrypt the wallet file for long term storage?
2 votes
1 answer
139 views

Ledger 8 pin number how hard in terms of entropy is it to guess?

ledger has a max. 8 number pin for unlocking it as far I know. I am very interested, can someone say if (given any method/resources) it is in any scenario (except luck) possible to guess this 8 ...
0 votes
3 answers
8k views

Seed for bitcoin-core qt

I have a bitcoin core -qt Wallet (on linux). Tell me, can I encrypt it? For example, there is the electrum wallet! It has words for deciphering. For example, i installed the electrum and the phrase ...
0 votes
1 answer
141 views

Addresses found in wallet.dat that start 00 14

I found a list of addresses in my dumped wallet.dat file that all start 00 14... They are script=1. What are these encoded with and how to decode?
4 votes
1 answer
446 views

A security need for Bitcoin to fork to quantum resistant algorithm in a few years?

in just a few years I believe that quantums will exist that break asymmetric ciphers, and bitcoin is based on asymmetric ones like public-key-cryptography, correct? Symmetric algorithms are supposed ...