Questions tagged [encryption]

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

Filter by
Sorted by
Tagged with
6
votes
3answers
716 views

Papers/Books on how bitcoin works from a mathematical perspective?

I'm a math student interested in Cryptography. Is there any paper or book which explains, in mathematics and cryptography terms, how bitcoin (more general, a digital cryptocurrency system) works? In ...
1
vote
2answers
906 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
2answers
362 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
0answers
95 views

Implementing Secret Sharing with an Encrypted Bitcoin Wallet

How would I implement Shamir's Secret Sharing Scheme with an encrypted Bitcoin wallet?
0
votes
2answers
79 views

Nosey/disgruntled employees at my VPS company

How can I take steps to prevent/detect bad employees stealing my money? I'm running bitcoind on a VPS with Ubuntu 14.04. Only ports open are 22, 80 and 443. I have fail2ban and auditd enabled. ...
1
vote
1answer
117 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
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 ...
2
votes
1answer
273 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
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 ...
7
votes
1answer
1k views

How to 'attach' metadata to a bitcoin receive address

I need to generate a receive address that is directly associated with some metadata, M, that forms part of a verifiable contract. I require that customers can verify that an address really was ...
3
votes
1answer
575 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 ...
1
vote
1answer
550 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). ...
2
votes
0answers
69 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 ...
1
vote
0answers
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": ...
2
votes
1answer
372 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 ...
0
votes
0answers
20 views

How to set Dogecoin Wallet Encryption? [duplicate]

Should I make a Dogecoin wallet addresses encryption? If yes, what are the pros and cons and how it is made on linux - Ubuntu 13.10?
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 ...
1
vote
1answer
695 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 ...
7
votes
1answer
557 views

What OpenCL video cards (or FPGAs) are best for multiplication?

I'm benchmarking some Bitcoin related software and am looking for cards that are better at parallel multiplication vs parallel addition. Is there any prior work that may have this information? ...
3
votes
1answer
2k views

Bitcoin-Qt - backing up unencrypted wallet then encrypting it

If I back up unencrypted wallet.dat somewhere safe (TrueCrypt volume) and then encrypt the wallet by Settings / Encrypt Wallet, will my backup still be useful? I think the message after encrypting the ...
1
vote
1answer
351 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 ...
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 ...
0
votes
2answers
2k views

Generating Public & Private key pairs for cracking Bitcoin [duplicate]

Would one of the better methods to crack Bitcoin be to start creating a massive database of key pairs? It would then be possible to reference the Private key required off the public key from the DB.
19
votes
2answers
13k views

Why does the length of a bitcoin key vary?

Why does the length of a bitcoin key vary? Why aren't they all the same length?
1
vote
1answer
939 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
1answer
1k views

Locking litecoin wallet with JSON-RPC

There is this very helpful post detailing how to lock and unlock your bitcoin wallet using walletlock and walletpassphrase api calls. Unfortunately the litecoin api does not boast these features. I ...
1
vote
1answer
462 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 ...
2
votes
1answer
179 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?
10
votes
1answer
3k views

How does the Electrum wallet encryption work?

Nube bitcoin question... I created an electrum wallet, and can find it under appdata on my windows machine. When creating it I set up a pass phrase and password. I sent a small transaction into one ...
0
votes
0answers
344 views

How can I access my private keys? Will the key get lock further if I enter the incorrect password too many times?

I exported my private keys and Multibit unencrypted but when I try to import the key files I am being asked for a password... copying the the key from text edit and pasting it into blockchain results ...
3
votes
1answer
2k views

Do i delete the Bitcoin folder & data directory in Appdata after i copy it on an encrypted drive?

I am trying to complete the instructions described here https://en.bitcoin.it/wiki/Securing_your_wallet#Windows . I have already done the Truecrypt part and installed the Bitcoin client. But i have ...
6
votes
3answers
16k views

How do I unlock, decrypt, Bitcoin wallet?

I'm new to Bitcoins and I downloaded the new beta version with the encrypted wallet. I encrypted my wallet but I have no idea on how to decrypt it. It is locked. How can I unlock/decrypt my wallet? ...
7
votes
1answer
11k views

Forgot wallet encryption password, are any brute force tools available? [duplicate]

I have an idea of what my password should be, but am missing something. Are there any tools or bash scripts to brute force my wallet passwords? If a dictionary is required, I can pre seed it as ...
6
votes
2answers
427 views

Do keypool keys from an unencrypted wallet backup become unusable once I encrypt my wallet?

I'm a little confused by this, which i found in the technical documention: When wallet passphrase enrcyption becomes enabled, any unused keys from the keypool are flushed (marked as used) and new ...
5
votes
1answer
345 views

Does a Vanity Address reduce the randomness / entropy of the private key? Is there cryptographic proof?

Since a vanity address discards many "valid" keys in order to find one that matches a pre-determined string, I think that the "randomness" of the data would be reduced, thus weakening the key. Is ...
2
votes
2answers
253 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 ...
3
votes
2answers
956 views

How does an encrypted wallet persist used keys from “getnewaddress” and the keypool after a restart?

I'm reading this wiki on wallet encryption and am confused on how I can call getnewaddress as described here and where that is being tracked after a restart of bitcoind. When a wallet is encrypted,...
3
votes
2answers
871 views

Does the public key associated with an address become part of the public record after it has been used to spend?

Since bitcoin addresses are hashes of public keys and not public keys as such, if one wanted to craft a message that could be decrypted by the generator of an address, that can't be done just with an ...
6
votes
1answer
1k views

Where and how is secp256k1 used within Bitcoin?

Bitcoin is unique that is uses secp256k1 to secure it's transactions; and any cryptographic attack against this algorithm is probably going to be percieved as an attack against the bitcoin network. ...
2
votes
0answers
249 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 ...
3
votes
1answer
672 views

How complex can my bitcoin wallet encryption key be?

What are the requirements and limitations of the password that the satoshi bitcoin wallet allows the user to set?
7
votes
1answer
5k views

How to import a private key to an encrypted wallet (on standard client)

I have a standard client (QT client on OSX) with an encrypted wallet. I've tried to import keys with pywallet, but while it claimed to be importing them, when I ran again the bitcoin client, it said ...
9
votes
2answers
4k views

If I lost my public keys, could I recover them from the private key? [duplicate]

Possible Duplicate: How are public & private keys in an address created? If I lost my public key, but still have the private key, is it possible to recreate the public keys. How many public ...
4
votes
1answer
143 views

Is two-phase encryption planned for the standard client?

Currently, the standard client supports encryption, but only for actions that change its state (send money, generate address). I would like the client to require two passwords - one to view any ...
6
votes
1answer
435 views

What happens when an encrypted wallet runs out of keys?

Say someone wanted to be evil to the main client and set its wallet to contain one key, lock it, and then start mining. After the first block was generated, the client would traditionally create a new ...
3
votes
1answer
488 views

Does Bitcoin wallet encryption also protect my sending and receiving addresses?

Bitcoin wallet encryption makes sure (by encrypting the private keys with a passphrase) that someone who finds your computer or your Dropbox or your backup drive (including wallet.dat) cannot spend ...
9
votes
1answer
835 views

Does the BerkeleyDB-based wallet.dat implementation leak private key data?

I read this little nugget on the bitcoin client bug tracker: the bdb binary log files can also contain sensitive data such as private keys Is that true? Does this mean that even with an encrypted ...
3
votes
1answer
556 views

How do we have one-to-one mapping given the key size differences?

If public keys are 34 characters long, and private keys are 61 characters long, then the combinations of 34 characters is not sufficient to give each combination of 61 characters a unique pair. My ...
12
votes
2answers
301 views

Can I force my wallet to only have news keys, post-encryption?

Now that v0.4 of the bitcoin client has encryption I've gone ahead and encrypted the keys in my wallet. But I had previously made backups of my (unencrypted) wallet and those keys are the same keys ...

1 2
3