This research paper proposes a beautiful and clear idea: using deep embeddings as a deterministic source for ECDSA keys and Bitcoin addresses. It’s an interesting bridge between metric learning and blockchain. But scientific rigor demands more: this isn’t a new cryptographic primitive or quantum computer protection . It’s an experiment on a seed source. Its value lies in raising measurable questions: stability, entropy, collisions, threat modeling, and post-quantum migration.
A new testable question that naturally arises from the comparison of the papers is: can a post-quantum signature be derived from an embedding such that the embedding is not the sole secret, but serves as just one input to a KDF with a salt and a long-term secret? If so, this opens the way to hybrid schemes. If not, embedding remains an interesting interface to data, but not a replacement for cryptographic randomness. What is this work? This is an analytical research paper built around the preprint “Towards ECDSA key derivation from deep embeddings for novel Blockchain applications” (1711.04069v1) and a methodological set of questions from the file “Quantum Technology Research Questions .” The paper does not claim that the method described in the preprint is secure; It shows what test questions need to be asked, what evidence already exists, what is missing from it, and how this relates to the quantum threat to ECDSA. Download the HTML file to your PC. File name: ecdsa_deep_embeddings_quantum_ru.html
Content
- Abstract and central intrigue
- Topic, boundaries and questions to be tested
- What exactly was done in 1711.04069v1
- Evidence: What’s Confirmed and What’s Not
- Anatomy of Security: Threat Model
- Quantum Context: Shor, Grover, and Post-Quantum Migration
- Linking works into a coherent study
- Fair comparison and testable experimental design
- Limitations, Open Questions, and Conclusion
- Sources
1. Abstract and central intrigue
Imagine that the bitcoins were sent not to a regular wallet address, but to an address derived from a photograph. Not from a file hash, but from a deep embedding —a compact vector constructed by a neural network so that semantically similar images appear next to each other. This is precisely the idea proposed in preprint 1711.04069v1: train a Siamese network on ResNet-50, obtain a 256-dimensional vector, binarize it, use it as a secret to derive an ECDSA private key over the secp256k1 curve, and then construct a Bitcoin address using the standard P2PKH scheme.
The intrigue here isn’t that “the neural network creates money.” The intrigue lies elsewhere: if the key is derived from an image, then what exactly is the secret? The image itself? The model? The password? The binarization threshold? And what happens if an attacker has a similar image, the same model, or access to the public key? And finally, what remains of this construction if a sufficiently large, fault-tolerant quantum computer capable of solving the discrete logarithm problem emerges?
The central thesis of the paper is that the method in 1711.04069v1 changes the seed source for ECDSA but does not change the cryptographic nature of ECDSA. Therefore, it is interesting as an experiment at the intersection of metric learning and blockchain, but is neither a proof of security nor a post-quantum solution in itself. The research task being tested is to measure under what conditions binarized embedding behaves as a strong secret, where it is predictable, and how quickly a quantum threat renders the entire construction obsolete.
2. Topic, boundaries and questions to be tested
2.1. Selected scientific topic
Topic: Cryptographic strength of ECDSA keys derived from deep embeddings in the context of quantum threats and post-quantum migration.
Object: the scheme “image → deep embedding → binarization → ECDSA private key → public key → Bitcoin address”.
Limitations: Only ECDSA over secp256k1, standard Bitcoin P2PKH address generation, Siamese network with contrastive/double-margin loss, 256-dimensional vector binarization, and an optional PBKDF2 password are considered. Not covered: real wallets, legal aspects, financial recommendations, a full analysis of all blockchain protocols, and a practical implementation of an attack on Bitcoin.
2.2 Testable hypotheses
| Hypothesis | Formulation | Refutation criterion |
|---|---|---|
| H1 | Semantically similar images after training yield similar binarized embeddings and hence the same or cryptographically compatible ECDSA key. | With acceptable transformations (cropping, compression, low noise), the proportion of matching bits or matching keys is statistically no higher than random; the stability threshold is not reproducible. |
| H2 | The binarized 256-bit embedding contains enough entropy to be as good as a random seed, provided that the model, image, and parameters are not leaked. | Min-entropy estimate is significantly below 256 bits; high collision rate; key is predictable from public data or a small number of queries. |
| H3 | Without the optional password, the publicity of the image and model allows the private key to be recovered. | The key recovery attack from the image and the model is no better than random guessing for a given query budget. |
| H4 | Even if H1–H3 are favorable, the embedding ECDSA key remains vulnerable to Shor’s quantum attack just like a regular ECDSA key. | A post-quantum modification has been found and proven that preserves the same threat model and does not require a change in the cryptographic primitive. |
2.3. Selected questions from the constructor
Below is a relevant subset, not all 75 questions. Questions from the communications and sensors sections (e.g., Q57–Q62) that are not applicable to this paper are marked as “not relevant to this paper.”
| Block | Numbers | Why are they needed? |
|---|---|---|
| Statement of the problem | Q1, Q4, Q5 | Define the problem, hypothesis, refutation criterion and research boundaries. |
| Mechanism and model | Q7, Q9, Q25, Q26, Q29, Q30 | Understand how an image is transformed into a formal object—an ECDSA scalar—and what the cost of data preparation is. |
| History and connection of works | Q13, Q18 | Show line: metric learning → deep hashing → Blockchain → post-quantum cryptography. |
| Errors and reliability | Q31, Q43, Q44, Q45, Q46 | Separate proof from simulation, check reproducibility and statistics. |
| Cryptography and Quanta | Q49, Q50, Q51, Q52, Q53, Q54, Q55, Q56 | Clearly formulate the cryptographic problem, the attacker model, the difference between QKD and PQC, and the risk to Bitcoin. |
| Benefit and future | Q63, Q64, Q69, Q70, Q72, Q75 | Assess the practical value, the next experiment, and the new question being tested. |
3. What exactly was done in 1711.04069v1
The preprint proposes a simple yet conceptually bold pipeline. It can be broken down into four layers: representation learning, binarization, ECDSA key pair derivation, and Bitcoin address generation.
3.1. Representation learning
A Siamese network based on a pretrained ResNet-50 is used; the final fully connected layer has 256 neurons. The network is trained on positive and negative pairs from ImageNet. The goal is to ensure that the squared Euclidean distance in the embedding space corresponds to the semantic similarity of the images.
The article uses double-margin loss:
L(z α , z β ) = y · max(||z α − z β || 2 2 − m 1 , 0) + (1 − y) · max(m 2 − ||z α − z β || 2 2 , 0)
Here, y = 1 for the “real” pair and y = 0 for the “imposter.” This function penalizes negative pairs that are too close and positive pairs that are too far apart. This is a standard idea in metric learning, but in this context, it serves more than just retrieval learning: it determines how reliably an image maps to the same binary secret.
3.2. Regularization for binarization
The author adds a triangular regularizer to the activations of the final layer to ensure that the sigmoid values more often fall near the upper or lower bound. In the extracted text, the formula looks like this:
f reg (ψ) = λ (1 − |(σ(x) + 2) − 1|)
There’s an important methodological subtlety here: for a triangular regularizer that rewards values near 0 or 1, a form of [likely a] is typically expected λ · (1 − |2σ(x) − 1|). The extracted PDF text may contain an OCR error or typo. This section should be verified with the original: whether the regularizer actually produces the bimodal distribution shown in Figure 2 depends on the exact formula. The paper claims that after training, activations lie predominantly at the upper and lower bounds—this is qualitative evidence, but not a quantitative assessment of the key’s stability.
3.3 Binarization and key derivation
After training, the network extracts a 256-dimensional real-valued vector, which is binarized into a vector of . This binary vector is then used as the secret to derive the ECDSA private key. The algorithm from the paper:Z2256
1: procedure DeriveKeyPairs
2: network ← pre-trained siamese network
3: image ← input image
4: repr ← network(image)
5: secret ← binarize(repr)
6: opt_password ← PBKDF2(password)
7: priv_key ← secret || opt_password
8: pub_key ← priv_key ⊗ G
Next, the public key is hashed using the standard Bitcoin hashing scheme: SHA-256, RIPEMD-160, checksum SHA256D, Base58. Important: the resulting Bitcoin address is not the public key, but a hash of the public key. This is a standard P2PKH scheme and is not a new cryptographic primitive.
3.4. Critical analysis of the conveyor
| Component | What is being claimed | What needs to be proven |
|---|---|---|
| Siamese Network | Similar images produce similar embeddings. | Transformation robustness, collision frequency, behavior on out-of-distribution data. |
| Binarization | After binarization, clusters are preserved as in t-SNE. | How many bits actually change; what is the min-entropy; are there any “dead” bits. |
| PBKDF2 | The password adds protection against rainbow tables. | Salt, number of iterations, output length, concatenation order, and casting to a valid scalar. |
| ECDSA | The key can be used for signature. | Verification that a scalar is in [1, n−1]; nonce reuse protection; quantum security. |
| Bitcoin address | The address can be obtained in the standard way. | When the public key becomes available to an attacker; address reuse risk. |
An important clarification. The preprint states that the key can be used for “sign or encrypt.” However, ECDSA is a digital signature algorithm, not encryption. Encryption requires a different scheme, such as ECIES. This doesn’t negate the idea of key derivation, but it does require precision in terminology.
4. Evidence: What is confirmed and what is not
The preprint contains several types of evidence. They need to be clearly distinguished, otherwise high-quality visualization will be perceived as proof of cryptographic strength.
| Certificate | What does it support? | What it doesn’t prove |
|---|---|---|
| Double-margin loss (Equation 1) | The network can be trained so that the distance in the embedding reflects similarity. | That the binarized vector is stable and that a secure key is obtained from it. |
| Triangular regularization (Equation 2) | The author aims to obtain activations near 0 and 1, which are convenient for binarization. | That the distribution is indeed bimodal in the quantitative sense; the formula requires verification. |
| Figure 2: Distribution of activations | After training, activations visually gravitate towards the edges. | Stability under compression, noise, cropping and model changes. |
| Figure 3: Euclidean distances for the Spoonbill class | For one example, closely related classes of birds were found to be closer. | General retrieval metric and cryptographic collision. |
| Figure 4: t-SNE before and after binarization | The cluster structure is visually preserved after binarization. | Key Preservation: t-SNE does not measure bitwise stability and entropy. |
| Algorithm 1 | A step-by-step reproducible key derivation flow is described. | Scalar validation, PBKDF2 salt, collision handling, and threat model. |
The strength of this work is that it honestly offers a specific pipeline and doesn’t present it as a ready-made cryptosystem. It’s a good starting point for experiments: you can measure the robustness of the embeddings, compare them with perceptual hash and random seed, and check for any breakages.
The main lack of evidence. The preprint lacks quantitative metrics: bit error rate, collision rate, min-entropy, attack success rate, number of independent runs, and confidence intervals. Without them, cryptographic security cannot be asserted. Visualizations are motivation, not security proof.
5. Anatomy of Security: Threat Model
The key question is: what is the secret? In standard ECDSA, the secret is a random 256-bit number generated by a PRNG. In the preprint’s scheme, the secret is the result of deterministic processing of the image, the model, and, optionally, the password. Determinism is convenient, but it also creates new attack surfaces.
| Threat | Scenario | What needs to be checked |
|---|---|---|
| Guessing the image | The attacker knows the model and selects an image that produces the same binary vector. | Preimage search complexity; entropy loss; model availability. |
| Semantic collision | Another similar image yields the same key, and the attacker can spend the funds. | Collision rate for pairs of “similar” images; binarization threshold; space size. |
| Instability to transformation | Compression, cropping, or noise changes a few bits—and the rightful owner loses access. | Bit error rate for acceptable conversions; whether error correction is required. |
| Weak PBKDF2 | A password without salt or with low entropy allows brute-force attack. | Salt, iterations, memory, output length; how concatenation is cast to a scalar. |
| Invalid scalar | A binary vector can be zero or ≥ n of order secp256k1. | Range testing [1, n−1]; rejection/reduction strategy. |
| Public key disclosure | When a P2PKH is spent, the public key is entered into the blockchain; it is available when the address is reused. | Model “when the public key is known”; address reuse risk. |
| Quantum attack | Shor’s discrete logarithm algorithm is run on the public key. | Resource assessment; when attack is practically possible; migration to PQC. |
5.1 Why a “similar image” is not the same as a “secret”
In conventional cryptography, the secret must be unpredictable to an attacker. The image may be public, the model public, and the code known. If all of this is available, the only secret left is the password or some hidden entropy. Without a password, the design is closer to deterministic key generation from public content rather than generation from a secret. This isn’t necessarily a bad thing: some deterministic wallet schemes work this way, but the seed is protected differently in those schemes. This issue isn’t formalized in the preprint.
5.2. The problem of collisions and threshold
Binarization converts a real vector into 256 bits. If two different images yield the same binary vector, they yield the same ECDSA key. This is catastrophic for cryptography if it can be found intentionally. The author mentions similarity but does not provide a collision estimate. Therefore, the correct experimental setup is to measure the proportion of matching keys for pairs of “similar” and “dissimilar” images and compare them with a random model.
5.3 PBKDF2 and Scalar Reduction
Algorithm 1 shows priv_key ← secret || opt_password. But an ECDSA private key is a scalar in the range [1, n−1], where n is the order of the secp256k1 base point. Concatenating a 256-bit secret with a PBKDF2 output can yield more than 256 bits. It is necessary to explicitly specify whether hashing, truncation, modulo reduction, or rejection sampling is required. Without this, the algorithm is incomplete. Also, PBKDF2 usually requires salt; this is not explained in the text.
6. Quantum Context: Shor, Grover, and Post-Quantum Migration
Now let’s connect the preprint to questions about quantum technologies. The key difference is that deriving a key from an embedding and ensuring the cryptographic strength of a signature are different tasks. Even a perfectly stable and entropic embedding doesn’t protect ECDSA from a quantum discrete logarithm attack.
6.1 What exactly breaks a quantum computer?
| Component | Classic threat | Quantum threat | Practical conclusion |
|---|---|---|---|
| ECDSA over secp256k1 | Private key guessing, weak nonce, leaks. | Shor’s algorithm for the discrete logarithm – on a sufficiently large fault-tolerant quantum computer. | Migration to post-quantum signatures is needed; deriving the key from the image does not help. |
| SHA-256 / RIPEMD-160 | Search for a prototype, collision. | Grover’s algorithm provides a quadratic speedup of search; it is not an “instant hack”. | Address hashing is not a major quantum problem compared to signature. |
| PBKDF2 | Password brute force, rainbow tables. | Grover can speed up the search, but memory and salt remain critical. | You need salt, high cost and, preferably, memory-hard KDF. |
| Embedding model | Adversarial examples, model inversion, model leak. | There is no direct quantum threat; this is classic ML security. | Don’t mix quantum and ML threats. |
6.2 When the public key is available to an attacker
In P2PKH, the public key hash is visible on the blockchain before spending. However, when the owner spends the funds, the public key appears in scriptSig. After this, a quantum attacker using Shor’s algorithm could theoretically obtain the private key. Address reuse increases the risk window. This is a key protocol context: the threat depends not only on the cryptographic primitive but also on the moment the public key is revealed .
6.3. QKD and PQC are not the same thing
Quantum key distribution (QKD) solves the problem of distributing a symmetric key over a quantum channel. It does not replace digital signatures and does not automatically solve the problem of blockchain authentication. Post-quantum cryptography (PQC) is classical algorithms that are resistant to quantum attacks. In this context, NIST approved FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA) in August 2024. Post-quantum signature schemes are primarily relevant for signatures in Bitcoin-like systems, but their integration requires protocol and consensus changes.
It’s impossible to claim that a “key from an image” protects against a quantum computer. It still generates an ECDSA scalar. Quantum security will only be achieved by replacing ECDSA with a post-quantum signature scheme or a hybrid design where ECDSA isn’t the only security feature.
7. Linking works into a coherent study
It’s helpful to view a preprint not in isolation, but as a node in a line of research. This helps transform an “interesting idea” into a testable program.
| Line | Work / idea | What does it give? | What to check next |
|---|---|---|---|
| Metric learning | Siamese networks, contrastive loss, double-margin loss | Teaches the concept that distance reflects similarity. | Robustness of binarized representation to transformations. |
| Deep hashing | HashNet, DeepHash, deep hashing for compact codes | Alternative ways to get binary code. | Comparison of collisions, entropy and stability with the method from the preprint. |
| Bitcoin / ECDSA | secp256k1, P2PKH, addresses as a hash of a public key | Ready-made infrastructure for signatures and addresses. | Moment of public key disclosure, address reuse, quantum model. |
| Post-quantum migration | NIST FIPS 203/204/205, NCCoE migration | Standardized post-quantum primitives and transition practices. | Is it possible to derive post-quantum keys from embeddings without losing security? |
This matrix yields a new synthesis: the embedding is not a key, but a candidate seed . Cryptographic security should be ensured by a KDF with salt, secret, and sufficient entropy, while quantum security should be ensured by the choice of a post-quantum primitive. This is the research framework.
8. Fair comparison and design of a verifiable experiment
8.1. What to compare with
| Approach | The source of the secret | Quantum resistance | The main risk | Maturity |
|---|---|---|---|---|
| Regular ECDSA | Random seed from PRNG | No | Weak PRNG, key leak, quantum attack | High |
| ECDSA from embedding | Binarized image vector (+ password) | No | Predictability, collisions, instability | Experimental |
| Post-quantum ML-DSA | Random/deterministic seed | Yes, within the standard and assumptions | Key/Signature Size, Integration | Standardized |
| SLH-DSA | Hash functions | Yes, conservative assumptions | Size and speed | Standardized |
| QKD | Quantum channel | It’s the key distribution that decides, not the signature. | Infrastructure, authentication | Specialized |
8.2 Metrics to Measure
- Bit agreement rate — the proportion of matching bits during compression, cropping, noise, and resolution changes.
- Key stability rate is the proportion of cases where the same key is obtained from the transformed image.
- Collision rate is the frequency of key coincidences in different images.
- Min-entropy estimate is an estimate of the entropy of a binarized vector and its individual bits.
- Attack success rate — success of key recovery based on the public model and image.
- Signature verification — checking that the received key actually creates a valid signature.
- Resource cost — time, memory, number of requests, PBKDF2 cost.
8.3 Minimum reproducible protocol
- Take a fixed checkpoint of ResNet-50 and train a Siamese network on a subset of ImageNet with double-margin loss.
- Lock down Keras/TensorFlow versions, hyperparameters, random seed, and preprocessing.
- Create pairs: original, JPEG compression, 90% crop, slight Gaussian noise, brightness change.
- For each image, get a 256-bit vector and output the ECDSA key with scalar range checking.
- Compare to baselines: random seed, file SHA-256, perceptual hash, HashNet-like method.
- Repeat 30 independent runs, reported mean ± 95% CI.
- Check whether the conclusion changes under conservative and optimistic assumptions about the quantum attacker.
Usefulness criterion. A paper will be strong if it shows not “we made a key from a picture,” but “we measured when such a key is stable, where it is predictable, and why this doesn’t invalidate post-quantum migration.”
9. Limitations, Open Questions, and Conclusion
9.1. Limitations
- The preprint does not include a formal threat model or entropy quantification.
- There is no collision analysis and robustness to adversarial examples.
- PBKDF2 and the reduction of concatenation to a scalar are not fully described.
- ECDSA is not an encryption scheme; the terminology requires clarification.
- The method is not post-quantum: it still uses ECDSA.
- In P2PKH, the public key is revealed upon spending; this affects the quantum attack model.
9.2. Open questions
- What is the actual min-entropy of the binarized embedding after training?
- Is it possible to construct a KDF that uses the embedding as one of the inputs, but does not make it the only secret?
- How does transformation resistance relate to cryptographic collision resistance?
- Is it possible to derive post-quantum signature keys from embeddings without losing security?
- What should a hybrid scheme look like: embedding + secret + PQC signature?
9.3. Conclusion
Preprint 1711.04069v1 proposes a beautiful and clear idea: using deep embeddings as a deterministic source for ECDSA keys and Bitcoin addresses. It’s an interesting bridge between metric learning and blockchain. But scientific rigor demands more: this isn’t a new cryptographic primitive or quantum computer protection . It’s an experiment on the seed source. Its value lies in raising measurable questions: stability, entropy, collisions, threat modeling, and post-quantum migration.
A new testable question that naturally arises from comparing these works is: can a post-quantum signature be derived from an embedding such that the embedding is not the sole secret, but rather serves as just one input to a KDF with a salt and a long-term secret? If so, this opens the way to hybrid schemes. If not, embedding remains an interesting interface to data, but not a replacement for cryptographic randomness.
10. Sources
- Perone CS Towards ECDSA key derivation from deep embeddings for novel Blockchain applications . Preprint 1711.04069v1. URL: arXiv:1711.04069.
- Nakamoto S. Bitcoin: A Peer-to-Peer Electronic Cash System . 2008.
- SEC 2: Recommended Elliptic Curve Domain Parameters. Standards for Efficient Cryptography.
- He K. et al. Deep Residual Learning for Image Recognition . CVPR 2016.
- Chopra S., Hadsell R., LeCun Y. Learning a Similarity Metric Discriminatively, with Application to Face Verification . CVPR 2005.
- Cao Z. et al. HashNet: Deep Learning to Hash by Continuation . arXiv, 2017.
- NIST. FIPS 203, 204, 205: Post-Quantum Cryptography Standards . August 2024.
- NIST NCCoE. Migration to Post-Quantum Cryptography .
- National Quantum Initiative. Quantum science areas: computing, networks, sensors.
- The file “Questions for Research on Quantum Technologies” is the author’s methodological constructor used to select the questions to be tested.
