Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encryption]

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

8
votes
3answers
880 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
1answer
41 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 ...
0
votes
2answers
74 views

How does blockchain technology handle the actual transaction data?

My understanding of how a transaction is secured in blockchain, especially in bitcoin, is that the output of transaction data is locked to the recipient's address (a shorter version of his public key)....
2
votes
1answer
19 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.
0
votes
0answers
15 views

How to make a secure decentralized storage where every body can access the same data?

Imagine, you have 2 blockchains. One handle usual transactions same as bitcoin, and the other one is similar to project as Siacoin or Filecoin. Every transaction that appear in the first one, when ...
0
votes
0answers
39 views

How SHA-256 Algorithm works

I just want to know how SHA-256 algorithm exactly how it works.Example the word "CODE" and i want to convert it to SHA-256 ,can someone explain me step by step of each procedure ?
0
votes
0answers
64 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
1answer
90 views

Is the Mycelium HD wallet private key stored encrypted on the device?

haven't found details on that in the net. My concern is that I'm using a corporate (bring you own device) phone. We have to install a "security" app running with administrator rights. IMHO this app ...
0
votes
1answer
71 views

Could BitCoin network be destroyed if blockchain would get corrupted?

This thought came to me whilst watching mr. Robot where the entire database of a financial corporation has been encrypted. Would that (in theory) be possible if a virus was spread that would target ...
0
votes
1answer
68 views

Solving a Block with more than one miner connected to same daemon

Well excuse me in advance if my question sounds funny. But I'm just curious perhaps someone can shed a light. When in a pool of miners, let's say there are 100 miners connected to a single daemon ...
0
votes
1answer
43 views

How are transactions verified by nodes other than the initial receiver?

If I understand correctly, when I create a new transaction from my wallet, I have to sign it and encrypt it. My wallet encrypts the message using the public key of the node it is connected to, so it ...
1
vote
2answers
66 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/...
4
votes
1answer
576 views

How can a deterministic wallet have one private key but multiple public keys

If we take for example bread wallet. There is one mnemonic to remember, which means one private key? But when you use the app, your public address constantly changes. So more than one public key? ...
0
votes
2answers
104 views

How can you sign a transaction without that signature being forged in the future?

So thinking here about an offline transaction. Both myself and the receiver sign it, and then at a later time that transaction is broadcast to the network in the block. What is stopping me from ...
0
votes
1answer
45 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 ...
0
votes
1answer
91 views

Changing wallet password using double quotation marks turn out to be mysterious (Qtum Core)

I installed Qtum core in my Ubuntu 16.04 server and generated my wallet, and encrypted it. For the test purpose, I changed the password using the command like below. I typed below command to change ...
2
votes
4answers
487 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
57 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, ...
0
votes
2answers
2k 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 ...
3
votes
3answers
3k views

How do Ledger Backups get stored?

Scenario Say you have configured a ledger wallet with 10 BTC and 10 ETH. You then lose this said wallet but you have the 24 unique words. You buy another ledger wallet enter the 24 words and BAM, ...
3
votes
2answers
1k 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 ...
3
votes
2answers
1k views

Do all Cryptocurrencies uses same Public key Cryptography algorithm?

I have been trying to read about how Public key cryptography works and I have just understand what public key cryptography is and how it differs from symmetric key cryptography. I have also just read ...
2
votes
2answers
91 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 ...
0
votes
1answer
138 views

Unconfirmed bitcoin transaction (Need help) [duplicate]

I have sent bitcoin since 25th May 2017 till now the transaction haven't confirmed yet. https://blockchain.info/tx/ac0635c98af0703927f1b364d2d8c19f4b2812c97169c729cb341111adcea866 How can i do? Please ...
0
votes
0answers
42 views

At what market cap will bitcoin be worth “cracking”?

This is the doomsday scenario: bitcoin's market cap goes into the trillions of dollars and the cost/benefit ratio of cracking the encryption algorithm tips so that it becomes attractive to throw ...
3
votes
3answers
155 views

Securely encrypting a cold storage wallet

I'm going to buy bitcoin to exchange BRL to CAD currency, as it's gonna be a great amount I'm concerned about the security of my wallet. I don't want to use a physical backup like paper or device ...
1
vote
0answers
86 views

Is the Password stored in RAM in clear text after decrypting the MultiBit HD wallet?

After decrypting your wallet in MultiBit HD, is the clear text version of password stored in the RAM?
1
vote
1answer
718 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. ...
4
votes
2answers
779 views

Should I put my bitcoin wallet on an encrypted disk or not?

Is it really beneficial to put my bitcoin wallet on an encrypted disk (LUKS encrypted)?
1
vote
0answers
61 views

Can't start bitcoind after wallet encryption (Bitcoin Core)

pretty new to the Bitcoin world! I downloaded Bitcoin Core and got everything up and running. I then attempted to encrypt my wallet, and after successful encryption can no longer start bitcoind. ...
1
vote
0answers
75 views

Is there any implementation of attribute-based encryption on top of Bitcoin?

I've found a few papers detailing how you could do it in theory, but haven't seen anything in practice. Like a system for distributing bitcoin to private keys, where those keys are only distributed ...
6
votes
1answer
683 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: ...
3
votes
2answers
449 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 ...
0
votes
0answers
286 views

How can an encrypted wallet spend coins without asking for decryption password?

It is possible for some encrypted wallet to spend coins (e.g. this one) without requesting a decryption password or any other form a authentication. Of course, a password is requested when first ...
1
vote
1answer
649 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
659 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
109 views

Bitcoin Core 0.13 wallet encryption

Is it safe to encrypt bitcoind wallet if it holds funded addresses?
1
vote
2answers
83 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
0answers
146 views

How MultiBit stores password

I'm curious to understand how MultiBit stores my password. The fact is: I can restore the password by using the 12 words. From this answer it seems tha the AES key to encrypt the password is derived ...
1
vote
0answers
66 views

Java bitcoinj: semantics of 'decompress' on encrypted key

Calling the decompress method on an encrypted ECKey object yields an ECKey object which has no private key (only public). I personally would have expected to get the same encrypted key in uncompressed ...
1
vote
1answer
90 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.
2
votes
0answers
153 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 ...
0
votes
1answer
335 views

one time pad using blockchain

I am thinking if secure encryption like one time pad (OTP) is achievable using bitcoin blockchain? The reason is bitcoin blockchain size is over 70 GB, which could potentially encrypt/decrypt 70 GB ...
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 ...
0
votes
0answers
2k views

Blockchain.info forgotten password, Download encrypted wallet using identifier?

Good day. I have an old Bitcoin wallet with 0.14 in, I only wrote down the identifier when I created it. I am pretty sure the password contains part of my generic password I use for most websites. So ...
1
vote
1answer
475 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 ...
11
votes
4answers
14k 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
2answers
179 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 ...
2
votes
3answers
348 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
360 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 ...