Questions tagged [encryption]

For questions relating to encryption operations and algorithms as they apply to crypto-currencies specifically.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Encryption for Mempool Privacy

Ferveo: Threshold Decryption for Mempool Privacy in BFT networks - https://eprint.iacr.org/2022/898 This paper describes some methods to encrypt transactions when in mempool and decrypt on inclusion ...
46 votes
8 answers
73k 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, ...
1 vote
2 answers
193 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
761 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
186 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
1 answer
126 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 ...
6 votes
2 answers
1k 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
31 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
86 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
0 answers
20 views

What time of encryption from late 2000s contains house, smileyface, squares, letters and numbers?

Have a encrypted password or key typed to paper, i vaguely remember doing it, not sure if note pad was involved or some site , i remeber something about sha-2 , and sha- 256, and why i should use one ...
0 votes
2 answers
328 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
795 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
188 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 ...
2 votes
1 answer
106 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
136 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
6k 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
172 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 ...
0 votes
2 answers
65 views

Bitcoin core wallet backup corrupted by an external tool

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
55 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
156 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
94 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
64 views

Multi Party ECDSA?

Are there any alternatives to the Multi Part ECDSA implementation contributed by ZenGo?
1 vote
1 answer
521 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
129 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
140 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 ...
1 vote
1 answer
600 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
217 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
303 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
106 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
99 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
7k 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
117 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
406 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 ...
1 vote
0 answers
973 views

Bitcoin Private Key Decryption

At present, I have dumped my wallet and have all private key, address information. I am now wanting to understand the decryption process for the private keys within the wallet. I have completed the ...
44 votes
10 answers
11k views

How can I keep my wallet secure?

The standard Bitcoin client does not encrypt wallet files, so any malicious user that gains access to this file will be able to transfer all the coins to their own wallet. Furthermore, if I lose the ...
2 votes
1 answer
186 views

Bitcoin and encryption

To the best of my understanding Bitcoin uses encryption to create the digital signature, basically, by encrypting the hashed message (transaction?). Would like to get your expert opinion to my claim ...
0 votes
1 answer
765 views

Can't decrypt bitcoin core wallet, did I made a backup at the wrong time?

I am confused on why my bitcoin core wallet password would not work. I am 90% sure I tried the right password(s). wallet has many receiving addresses (10 000), I generated them with Linux from ...
2 votes
2 answers
506 views

Is it possible for computing power to increase quick enough to break mining retargeting?

So from what I understand, mining bitcoins basically becomes more difficult as more bitcoins are mined. This is done so computing power doesn't get so strong that bitcoin mining becomes trivial to ...
2 votes
1 answer
277 views

Why doesn't the Bitcoin-qt client ask for the Wallet passphrase upon startup?

I've just encrypted my wallet.dat file using the "Settings -> Encrypt Wallet" menu option. I then closed the client and re-opened it. I was expecting to be prompted to put in the wallet password ...
2 votes
2 answers
96 views

How can I use messengers for crypto transactions?

Is it possible to use Signal or Telegram for crypto transactions? I heard CryptoCat messenger is for such needs, but interested in using those two mentioned above.
15 votes
4 answers
36k views

Won't ASIC miners eventually break SHA-256 encryption?

I might be confused as to how Bitcoin works, but as far as I can tell, ASIC miners are getting better every year and faster at cracking SHA-256 encryption. Won't this cause the eventual complete ...
1 vote
1 answer
57 views

How is the PRIVATE KEY actually created in the first place?

How is the "Private Key" created in the first place? I understand that once you have your wallet, you will also gain access to your public key and private key... But in order to have a wallet ...
2 votes
1 answer
1k views

What happens when i change the encryption password of Bitcoin-Core wallet

What happens when i change the encryption password of Bitcoin-Core wallet? Is first pass lost forever , where is it saved - on the blockchain or on the wallet.dat file? What if encrypt wallet with ...
3 votes
1 answer
158 views

Has Bitcoin Cores encryption wallet security ever been bypassable?

Every few years there seems to be an exploit found in Trezor that allows people to bypass the security. I was wondering has there every been the same case for Bitcoin Core wallet encryption?
2 votes
2 answers
231 views

Why was noise XK fundamental pattern chosen in the transport layer (BOLT 08) of the lightning network

I am currently reviewing the transport layer of the Lightning network protocol. It builds on top of the noise protocol framework handshake patterns. What I don't get: Why was the fundamental pattern ...
2 votes
5 answers
2k views

Encrypting wallet manually instead of using hardware wallet

i am new to this community and like to know why one should prefer a hardware wallet instead of using encryption algorithm like AES-256 along with PKDF2 to secure crypto wallets ? i currently hold btc ...
0 votes
1 answer
212 views

Bitcoin Signatures are susceptible to quantum attacks - how exactly and with what practical impact? [duplicate]

@PieterWuille wrote in another thread: "" The hashing algorithm is probably the most quantum-resistant piece of cryptography right now in Bitcoin. Barring any specific breaks, SHA256 and RIPEMD160 ...
0 votes
0 answers
59 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 ...
4 votes
4 answers
455 views

How can I test and verify a vanity key before I send coins to it?

I ran vanitygen and oclvanitygen on the same machine, and realized after my run that both exe's share the same output file. I've had experience in the past where many programs append to the same TXT ...