Questions tagged [encryption]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
91 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
5answers
651 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 ...
2
votes
2answers
234 views

Is it possible to definitely lose bitcoins? [duplicate]

The maximum number of Bitcoin is 21 000 000. However this number of Bitcoin may never exist. Supposing someone have 5 BTC in their wallet. In order to protect them, they encrypted it and then forgot ...
2
votes
2answers
2k views

How does the Bitcoin Standard Client wallet encryption work?

I encrypted my wallet using Bitcoin QT, then closed the application. When I restarted Bitcoin QT, it did not ask for the passphrase. But I could still access the wallet. How is it possible to access ...
2
votes
1answer
4k views

How can I fix corrupted encrypted wallet.dat?

My only one backup of encrypted wallet is corrupted (last time when backed it up i probably didn't shutdown bitcoin-qt), with hex editor i found in it: mkey ckey (117 that looks fine) Does this ...
2
votes
2answers
230 views

Does FIPS 140-2 crypto certification matter for Bitcoin?

I'm implementing part of the Bitcoin client in C# and noticed that I have the choice between FIPS 140-2 and non certified versions of SHA256. Supposedly both versions give the same hash. Does the ...
2
votes
2answers
64 views

Conditional based Crypto based on Smart Contracts

Is it possible to store an encrypted message in the blockchain that reveals itself only when a particular condition is met? I think that the conditional disclosure can be done with Smart Contracts, ...
2
votes
3answers
374 views

Could someone solve for your private keys by sending many transactions to the same address?

I've read that it's never safe to use the same bitcoin address more than once because there is a small chance that someone could solve for your private keys (though I don't have a solid-enough ...
2
votes
1answer
423 views

What is the largest password/passphrase size for a wallet.dat file?

Suppose your wallet.dat file is copied to the wild. I am working on methods for creating very strong (512bits, hopefully much more) passphrases that would make it unfeasible to either use rainbow ...
2
votes
1answer
461 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
1answer
2k views

Is there any open source implementation of Bitcoin wallet encryption in Java?

I intend to establish an efficient and secure scheme for protection of wallets. For this , I need source code that implements wallet ecryption as mentioned in https://en.bitcoin.it/wiki/...
2
votes
1answer
177 views

Is the keypool erased when changing wallet password?

In Bitcoin-qt, when a previously unencrypted wallet is encrypted, the keypool is erased and replaced with new keys. Does this also happen when the password of an already encrypted wallet is changed?
2
votes
1answer
41 views

C-lightning Implementation password protect hsm while maintaing node access

I was wondering if there was a way to encrypt the folder that contains the hsm_secret (and a lot of other operational files necessary for constant operation of a C-lightning node) without cutting it ...
2
votes
1answer
75 views

I have a 100 character text message and I want to encrypt this message with my bitcoin “PUBLIC KEY” and decrypt it with my private key in Javascript

Are there any javascript libraries that can encrypt a 100 character text message using your bitcoin public key, but only be able to decrypt it with your bitcoin private key? I'm looking to create a ...
2
votes
1answer
28 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.
2
votes
2answers
527 views

Using Bitcoin Core Wallet, encrypted it, now it won't recognize password

I typed in the password very carefully, the same 5 digit password I use on another program. I know and remember exactly what I typed, I didn't type anything incorrectly. I got an error message saying ...
2
votes
1answer
342 views

ECIES - When is it bad to sign and encrypt using the same keys?

Suppose I have a public key for a particular user (perhaps extracted when using the new public key recovery format included in P2SH, and BIP32 transactions). Is it OK the same key for both signing ...
2
votes
2answers
1k views

Is there anyway I can recover my passphrase? [duplicate]

I have a wallet for the bitcoin qt wallet but I accidentally deleted the only copy of my encryption passphrase... I have read about something called brute force but I'm not entirely sure on how its ...
2
votes
3answers
795 views

I never encrypted my wallet.

When I installed it I never encrypted it. I then funded the address and I now have 1.1 bitcoins. But when I tried to send or create a new address it asked for a passphrase. I tried every possible ...
2
votes
0answers
157 views

Safety differences between full wallet encryption and only encrypting the private keys?

I'm a newcomer in the Bitcoin world and I wanted to ask the following questions regarding wallet security: What are the safety differences between fully encrypting the wallet.dat file and only ...
2
votes
1answer
495 views

Check if wallet is encrypted or not through RPC API

How can one check if their wallet is encrypted through the RPC API without receiving an exception? I went through the Original Bitcoin client API calls list but didn't find any command that could ...
2
votes
0answers
67 views

Does Amit Sahai's indistinguishability obfuscator enable Autonomous Virtual Corporations or “Agents”?

Given that an "Agent" is described as Agents are autonomous programs that maintain their own wallet, which they use to buy server time. Money is obtained by the agent selling services. If demand ...
2
votes
0answers
246 views

Is there a way to import a private key already protected with the passphrase?

Let's say I have a hot wallet that has passphrase encryption enabled. Then let's say a large withdrawal needs to occur but the hot wallet has insufficient funds and a transfer from cold storage is ...
1
vote
2answers
182 views

why is the blockchain necessary if bitcoins utilize cryptography

Mainly I am proposing the idea below because I feel that the blockchain is overkill, but I assume I must be missing something. So if someone could pick out the flaw below, I would greatly appreciate ...
1
vote
3answers
376 views

Where can I go to read up on encryption methods used in Bitcoin?

Where can I go to read up on encryption methods used in Bitcoin? I am particularly interested in the idea that I can use a private key to sign something and it proves to the world I have the private ...
1
vote
2answers
802 views

API Authentication via Python

I'm having trouble following LakeBTC's API instructions for connecting to their API via Python. API Documentation: https://www.lakebtc.com/s/api I have my key (email address) and secret. I'm using ...
1
vote
1answer
885 views

What encryption does Electrum use for private keys in wallets?

Electrum can encrypt the private keys in wallets with a user entered password. But what encryption algorithm is used? I'd hope it is reasonably strong crypto. I've looked at the Electrum docs and can'...
1
vote
2answers
1k views

How are transactions secured?

I'm a programmer and want to get to know more about encryption and how Bitcoin works, but there is not much on the web describing how all this code works. It would help if there was some visual way to ...
1
vote
1answer
1k views

Storing an encrypted private key on a server

I am planning on building a small e-wallet website to learn the basics of encryption and handling accounts, transactions, and balances in Bitcoin. I want to learn how to make a website where the ...
1
vote
1answer
991 views

How should I encrypt a bip39 mnemonic with a password?

With no server and only in the browser I'm generating an a bip39 key and giving the user the mnemonic to store some place safe for restoring, I also want the user to be able to login with a password. ...
1
vote
2answers
89 views

Will there be a point in the future where moving bitcoins to a new address will make them safer?

OP_SCHNORRCHECKSIG: Exploring Schnorr Signatures as an Alternative to ECDSA for Bitcoin I've noticed (e.g., the above article) that newer forms of encryption are being researched and developed for ...
1
vote
1answer
102 views

Derive symmetric keys

Is there some means by which I could derive symmetric keys using bitcoin public keys or HD Wallet public key which I have shared with a second user.
1
vote
1answer
583 views

Decrypt my private key using KeyCrypter

I am trying to decrypt my private key bytes using the KeyCrypter interface. But i do not know how to implement and call the decrypt() function. Initially i encrypt the bytes of my Private Key of my ...
1
vote
1answer
169 views

Authentication and key distribution in bitcoin

After going through the bitcoin protocol documentation it is still unclear to me how the bitcoin client is authenticated. Where can I find an overview of what the client sends and receives on the wire ...
1
vote
1answer
313 views

Encrypting Bitcoin private keys instead of printing out paper

I follow the procedure of making a cold storage wallet: downloaded copy of bitaddress.org using an off-line computer booted with Ubuntu from CD. Instead of printing out the private keys and ...
1
vote
2answers
337 views

Can you encrypt not just the private key, but also the public keys (ie bitcoin addresses) in an Armory wallet?

I would imagine that the paranoid darknety bitcoin user has an interest in keeping not only their private keys safe (so nobody can steal their bitcoins), but also has an interest in keeping their ...
1
vote
1answer
112 views

Why do you need to send a transaction out with NXT to secure your address?

When setting up an NXT account, it is recommended to send a transaction out in order to secure your account. I don't quite understand why it's needed. I know that if you don't send one out, your ...
1
vote
1answer
522 views

What is point of encrypting wallet, if Bitcoin API's sendtoaddress needs passphrase?

The Bitcoin API enables programs on the server to use JSON RPC to interact with the Bitcoin wallet. Most commands do not need the wallet locked (which I assume is the same thing as encrypted). ...
1
vote
1answer
4k views

Restore encrypted wallet

I need to restore a wallet created with bitcoin-qt which was encrypted. I have the encrypted wallet.dat file only. Do I restore this simply by replacing the current wallet.dat with my backup wallet....
1
vote
1answer
345 views

How is wallet at official client encrypted? What encryption it use?

How is wallet at official client encrypted? What encryption it use? What encryption does Bitcoin-qt use and what encryption is used at Multibit? And how strong that encryption is compared to other ...
1
vote
1answer
386 views

In the sourcecode, what does this line mean that recovers the key from the signature?

I understand that the public key (Q) can be extracted from a signature (r,s), but I'm having trouble understanding this line: if (!key.Recover(hash, &vchSig[1], (vchSig[0] - 27) & ~4)) The ...
1
vote
2answers
58 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 ...
1
vote
1answer
36 views

Is the unencrypted copy of the wallet still usable after a copy is encrypted?

My wallet is not protected with a password, I have a few receiving addresses generated and a some funds in it, then I make a copy of the wallet and I set a password on this one. Will the old ...
1
vote
2answers
105 views

How does Electrum protect my Seed?

I was reviewing how Electrum wallet protect my seed. They say this regarding seed protection: Your seed and private keys are encrypted using AES-256-CBC. Source: http://docs.electrum.org/en/...
1
vote
1answer
788 views

How to BIP38 existing private keys offline

How do I go about encrypting some existing private keys using BIP38 in an offline manner? I have looked at bitaddress.org and that site only lets you BIP38 keys which the bitaddress.org site itself ...
1
vote
1answer
708 views

How do private keys in Bitcoin-Qt's encrypted wallet differ from BIP38 private keys?

Does an encrypted Bitcoin-Qt wallet generate BIP38 private keys? I saw that Bitcoin private keys start with 5, i.e. unencrypted / no-BIP38 PKs, can be imported on several bitcoin wallets, e.g. ...
1
vote
1answer
111 views

Bitcoin Core 0.13 wallet encryption

Is it safe to encrypt bitcoind wallet if it holds funded addresses?
1
vote
1answer
254 views

How secure is Secure Print?

Armory gives the option of Secure Print for making paper backups. I understand that the developers give this option in case your printer stores a cache, or if the wallet could otherwise be compromised ...
1
vote
3answers
4k views

Need help with encrypted wallet.dat. I can't access it with my expected pass-phrase

I created an offline wallet in 7/13 via a Ubuntu live CD. I recently imported the encrypted wallet.dat file into the bitcoin-qt wallet on Windows 7. Coins appeared. But, my expected passphrase is ...
1
vote
1answer
693 views

How do the blue encrypted bitcoin paper wallets work?

Via https://www.bitaddress.org I saw you can get a paper wall but with encryption and a passphrase. What are the steps of using the wallet with the passphrase? It seems the address is on the left ...