Questions tagged [cryptocurrency]

A cryptocurrency is a digital currency powered by cryptography. This tag is applicable only to Q&As about the **cryptographic mechanisms** used by a currency, not for questions about economy, usage, or acquisition of any particular currency. The latter kinds are unwelcome. Please note that Stackexchange has dedicated websites for Bitcoin, Ethereum, Monero, etc.

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

Track crypto wallets voting on certain platforms [closed]

Is there a way to track if a specific wallet has submitted proposals and/or joined the voting on governance proposals such as snapshot, uniswap and similar governance proposal platforms? Is there an ...
1
vote
1answer
49 views

Is this simple Proof of Work algorithm based on SHA256 susceptible to length extension attack?

Each block's contents are hashed into 32 bytes using $\operatorname{SHA-256}$ (call this string $a$). In order for the block to be accepted, there must be a 256bit nonce (call this string $b$) ...
14
votes
1answer
5k views

Why "1" in 51% attack on Blockchain network

In many sources, included Wikipedia, we read: Any pool that achieves 51% hashing power can effectively overturn network transactions, resulting in double-spending. My question is: Why do we talk ...
0
votes
0answers
26 views

Summarized steps for zero knowledge proof on a public blockchain transaction

Im triying to understand Zero knowledge proof and its applications, my first instict is a blockchain (I will use Bitcoin-like for simplicity sake) Im triying to wrap my head around it by describing ...
2
votes
1answer
67 views

How would a malicious group of co-signers use a hash collision to sign an unintended message?

According to BIP340: However, a major drawback of this optimization is that finding collisions in a short hash function is easy. This complicates the implementation of secure signing protocols in ...
0
votes
0answers
45 views

How to get public key and bitcoin compressed address from the coordinates (x,y) generated by ECDSA?

I have my x (0xca668a8b5f71e8724aada4b5343c28702a481787855cc42228b8fff97fe94d6a) and y (0x19dd3a603a55b3d8c5f62cbe177b9b63693fb8c91d76845bafc843a7aa19ea55) coordinates generated by ecdsa with a ...
0
votes
0answers
36 views

How does not tagging hashes result in leaking the secret key if a nonce is re-used in a different scheme?

I'm reading through BIP340 and I'm having trouble understanding this part: For example, without tagged hashing a BIP340 signature could also be valid for a signature scheme where the only difference ...
0
votes
1answer
98 views

Is there anything stopping me from making my own NFT of an existing NFT?

I feel like I some understanding of cryptocurrencies, but what never made sense to me are NFTs. This is my current understanding of NFT's NFT's are a type of smart contract Smart contracts aren't ...
1
vote
1answer
128 views

How can I understand the math behind crypto, especially that used in blockchains / distributed ledgers?

A bit of a background about me; Computer Engineer but during my studies I didn't dive too deep into the maths, especially the crypto maths that is used to make the blockchain and cryptography work. I'...
0
votes
1answer
231 views

Why are public keys derived from elliptic curve cryptography (ECC) and not from hashing?

I've just started studying Bitcoin and cryptocurrencies, so I might be wrong, but so far my understanding is that public keys are derived from private keys using ECDSA, in Bitcoin's case using ...
2
votes
0answers
19 views

Difference between fuzzy vault and fuzzy commitment?

https://dl.acm.org/doi/10.1145/2905055.2905118 Quoting the above paper's abstract, "Biometric cryptosystem can apply fuzzy vault, fuzzy commitment, helper data and secure sketch, whereas, ...
0
votes
0answers
40 views

Does the number of bits in the block nonce influence the security of the blockchain?

I know that Bitcoin uses a 32bit nonce that miners iterate over trying to hit the target number of prefixed 0's in the hash. If they run through all 2^32 combinations they then change something else ...
0
votes
0answers
430 views

Let user(s) chose to mint a specific NFT from a solana collection

I have a collection of images to transform in NFTs. For that purpose I have selected to work with solana blockchain, since it is fast and cheap. I have used the following software resources: solana-...
1
vote
0answers
69 views

Literature about cryptography and programming on c++ [closed]

I'm interested in learning about cryptography and making something practical out of it - make own cryptocurrency sometime im future. I think I have good knowlegde of c++, I learned from learncpp.com ...
1
vote
1answer
99 views

Which passphrase length is good so it's hard to break bitcoin's PBKDF2 key?

According to https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#From_mnemonic_to_seed To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in ...
3
votes
1answer
93 views

DIY TRNG on an embedded system for Ethereum private key generation

I'm trying to build this Ethereum hardware wallet on a custom designed embedded system and I'm no expert. Googling around I found this Robust, low-cost, auditable random number generation for embedded ...
0
votes
0answers
48 views

Are there batched vector/polynomial commitment proofs with sublinear proof size for Verkle Trees?

High level goal: a Verkle tree (Merkle tree using algebraic vector commitments at each level rather than hashes) with depth d where I can prove the existence of <...
1
vote
0answers
33 views

Is a truly p2p ledger (cryptocurrency) possible?

Is a truly p2p ledger possible, where there is no need for a third party (or a number of third parties) to verify ledgers. Probably a system where the two parties who don't trust each other can verify ...
1
vote
0answers
30 views

Private Key from Extended Private Key and Public Address [closed]

Is it possible to generate a private key from a public address and an extended private key? For context: I am using C# and NBitcoin. The public address is generated from the outside via an extended ...
0
votes
0answers
27 views

Is it safe to use the same seed phrase for different cryptocurrency protocols

I want to use the same seed phrase for severl cryptocoins (Bticoin, Ethereum, Nano, etc.). I understand that each protocol has its own phrase length and possibly a different way of generating the ...
0
votes
1answer
68 views

How does hardware wallet recovery work?

I'm investigating hardware cryptocurrency wallets and am trying to understand how recovery works from a technical point of view. These wallets typically provide a 24-word "recovery seed" ...
0
votes
1answer
154 views

Are zk-STARKs really quantum resistant?

I see lots of mention that zk-STARK proofs that are being developed notably for use in blockchain networks are labelled as "quantum resistant". Many articles and reports that state this, ...
-1
votes
1answer
64 views

How to pad in the SHA256 Algorithm (an example using Bitcoin Header)?

For any bitcoin block we combine various Header fields to create a string which is an input to a 2 pass SHA algorithm. The resultant hash must match with the Hash in the Block header for the Block to ...
0
votes
0answers
19 views

Crypto Economic Attacks such as Nothing At Stake and Sandwich Attack from Archive Nodes on Polkadot

Could you please advise me if there are threat vectors from archive nodes such as front running attacks, sandwich attacks and nothing at stake attacks as they are quite powerful in terms of the ...
0
votes
1answer
42 views

Related Key Attack on Schnorr Signature - Why does the challenge include $\psi = g^x$, not $y$?

The original Schnorr signature scheme suffers from a Related Key Attack (RKA) as described by Morita et al. The authors of this paper then suggest a modification to the signature algorithm to prevent ...
0
votes
0answers
26 views

Generating public/private key pair without a trusted dealer

I want to make an Ethereum wallet where I can prove no one has the private keys in one place. Basically, I was wondering whether the ECDSA signatures could be generated by multiparty computation like ...
1
vote
1answer
60 views

How to generate a random string in Python for a mission-critical application

I'm trying to figure something out, but it is difficult for me. I need to generate a fully random string in Python. My current function is attached below. I just want to know whether this is secure ...
0
votes
0answers
31 views

How are zero-knowledge proofs used in blockchains to achieve anonymity?

The idea of blockchain is clear to me - If we reach consensus and all participants have the same state, it is easy to verify transactions. But new mechanisms (like Z-Cash) allow this without the ...
-2
votes
1answer
80 views

Bitcoin energy waste

Reading learnmeabitcoin I found the following how bitcoin works: The bitcoin difficulty self adjusts so that a block is solved on average in 10 minutes. Solving a block requires the miner to generate ...
0
votes
1answer
49 views

What hash structure is Facebook Diem using?

Crypto currencies use fixed values in some positions in the resulting hash, like a fixed amount of initial zeros. What fixed positions and fixed values are Facebook Diem using?
1
vote
0answers
34 views

Is it possible to provably make cryptocurrency tokens inaccessible?

Would it be possible to generate an agreed upon public key that has no corresponding private key (maybe by using the latest few block hashes of a blockchain) and then send cryptocurrency to that ...
1
vote
1answer
176 views

What are the algorithms used in Facebook's Diem algorithm?

Facebook plan a new cryptocurrency release called Diem. What algorithms are used? What output size is used for the hash function?
1
vote
1answer
84 views

is it efficient if blockchain uses double Hash algorithms $H_1$ and $H_2$?

I wonder is it efficient to use less Target condition and double hash algorithms with different target (or the same target with different Hash algorithms) and one nonce in a Block. Example Target 1 ...
1
vote
0answers
37 views

Moving a monero wallet+ node from a disk to another one [closed]

I dont know where to put this question, and the most appropriate would be here i guess, i found no criptocurrency stack, if its not here i would apreciate a link to post this I've downloaded a monero ...
3
votes
0answers
78 views

Are newer crypto currencies intrinsically more energy efficient, or just newer? [closed]

There's a lot in the news about the energy cost of Bitcoin recently. Recently Elon Musk talked about "currencies using <1% the energy per transaction of BTC". This page provides some ...
1
vote
1answer
164 views

BIP 39: If I mix my 24 seed phrase with another 24 words, will the checksum property allow an attacker to retrieve the original seed phrase?

Assume that I have a 24-word passphrase that I want to store securely but online by mixing it with another 24 words in a manner only I know. Does the checksum property somehow help an attacker to ...
0
votes
1answer
80 views

Fully understanding bitcoin transcation verifying and secp256k1

Hello fellow cryptographers. I have spent last few days trying to understand and find a way to generate secp256k1 private and public keys from scratch, but i failed. I have seen tons of videos and ...
1
vote
0answers
18 views

minimal trading amount per transaction, looking for exchange [closed]

I currently developed crypto bot with support of low transaction estimate to buy/sell. Now I am looking for exchange allowing to buy all possible pairs for under a \$1 or even less. Let's say BTC/USDT ...
0
votes
0answers
374 views

How to retrieve BIP39 seed phrase: 3 words missing of 24

I lost 3 middle words of my 24 words seed phrase for a nano ledger hardware wallet. As an example (not my real seed phrase) ...
1
vote
0answers
26 views

Can Litecoin & Bitcoin have overlapping Transaction Ids (txid) [closed]

Im currently coding my own transaction lookup page for cryptos. Since Litecoin and Bitcoin are so similar to their txid. I wanted to ask if its actually possible that these 2 currencies have ...
1
vote
2answers
167 views

What are alternatives to Proof of Work for consensus of a blockchain that doesn't contain anything of value?

For example, a distributed blockchain that would keep track of the weather. Anyone could add a weather reading, and several of these would be stored in each block, just like transactions in a ...
0
votes
1answer
223 views

Calculate private key from public key and r [closed]

I watched this video where somebody finds bitcoin wallet private keys using only the "sigR" value and the public key using a python script named "formula". How does this work and ...
0
votes
2answers
138 views

Encrypting cryptocurrency seeds for cold storage

I’d like some feedback on an encrypting algorithm. I’m not rolling my own, but even putting together well-proved pieces may create many pitfalls. (I don’t know if I'm stretching questioning in this ...
2
votes
1answer
57 views

Does applying a "PushEntropy"-function increase security of a private key?

I was just reviewing the source-code of the NBitcoin-package. As far as i can see when you create a new bitcoin-keypair Key privateKey = new Key(); (without passing ...
3
votes
0answers
85 views

Can you elaborate on pBFT for dBFT in relation to PoW and PoS consensus algorithms in layman's terms?

I've read all other related answers and googled this extensively. My intention and background in asking this question is that I am delving into cryptocurrency and blockchain technology in general. ...
2
votes
0answers
61 views

How to associate a post-quantum public key with a pre-quantum one in blockchains?

As a layperson, I'm curious if a cryptocurrency could fork to a quantum-resistant algorithm without people losing access to their wallets. Is it possible to generate a quantum-resistant public key ...
0
votes
0answers
191 views

Why wouldn't you just refer to the hash of the jpg file in the NFT storage?

This question is in reference to this tweet. It seems people are using the url of third party websites to record the reference to the content for NFTs. Why can't people just hash the jpg files for ...
3
votes
1answer
972 views

How are objects sold as NFT's ("non-fungible tokens")?

I'm familiar with "blockchain" and the theory and technology behind cryptocurrencies, tokens, and the economics behind why such things are capable of having monetary value, however I've ...
1
vote
0answers
110 views

How Secure Is Splitting A Bitcoin Private Key?

NOTE: This question cannot be posted to Bitcoin SE because it will not render there due to the mathematical notation. Since the mathematical notation is part of the question, this is the more ...
0
votes
0answers
306 views

Bitcoin Key Recovery Without Nonce Re-Use

There are a lot of questions in these forums regarding the recovery of private keys. But I'm here to postulate on something unique to a specific piece of research that I looked into recently. The ...

1
2 3 4 5