Computer implemented method and system for knowledge proof in blockchain transactions
Abstract
A method of enabling knowledge proof in a blockchain transaction is disclosed. The method comprises sending, from a verifier to a prover, a blockchain transaction redeemable by means of data including (i) first data (y) based on a combination of an ephemeral key (r), second data (c) and a private key of a public-private key pair of a cryptography system, wherein the public key (v) is based on an integer generator raised to a first power, wherein the first power is based on the private key, and wherein knowledge of the private key is required in order to determine the ephemeral key from the first data, and (ii) third data (x) based on the integer generator raised to a second power, wherein the second power is based on the ephemeral key.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 1.
Claims (12 — 1 Independent, 11 Dependent)
- Claim 1Independent Claim
A method of enabling knowledge proof in a blockchain transaction, the method comprising: generating, at a verifier computing system, a first blockchain transaction comprising a locking script, the locking script comprising: (i) fourth data based on a public key of a public-private key pair of a cryptography system, (ii) second data, and (iii) a prime number shared between the verifier computing system and a prover computing system that are outside of a blockchain network, and wherein the prime number is used in computation of intermediate results to validate the first blockchain transaction; wherein the first blockchain transaction is redeemable by means of a second blockchain transaction comprising an unlocking script, the unlocking script including: (i) first data based on a combination of an ephemeral key, the second data and a private key of the public-private key pair of the cryptography system, wherein the public key of the public-private key pair of the cryptography system is based on an integer generator raised to a first power, wherein the first power is based on the private key, and (ii) third data based on the integer generator raised to a second power that is different than the first power, wherein the second power is based on the ephemeral key; transmitting, by the verifier computing system, the first blockchain transaction to the blockchain network for validation; and responsive to receiving an indication of a success validation of the first blockchain transaction by the blockchain network, generating the second blockchain transaction to enable redemption of the first blockchain transaction on the blockchain network, the second blockchain transaction being generated by the prover computing system and the redemption of the first blockchain transaction is performed on the blockchain network based on modular arithmetic operations, wherein execution of the locking and unlocking scripts on the blockchain network functions as a proof of knowledge that the prover computing system possesses the private key of the public-private key pair, and wherein the public key, components of the first data, the fourth data, and the intermediate results are pre-computed off-chain.
- Claim 2Depends on #1
The method according to claim 1, wherein the integer generator is 2.
- Claim 3Depends on #1
The method according to claim 1, wherein the second data is provided by the verifier computing system.
- Claim 4Depends on #1
The method according to claim 1, further comprising: sending, at the verifier computing system, the second data to the prover computing system separately from the first blockchain transaction.
- Claim 5Depends on #1
The method according to claim 1, wherein the first data is of the form: y=r+s · c mod q, where y is the first data, r is the ephemeral key, s the private key, c is the second data and q is prime.
- Claim 6Depends on #1
The method according to claim 1, wherein the second data is provided based on a message.
- Claim 7Depends on #6
The method according to claim 6, wherein the message includes data for implementing a smart contract.
- Claim 8Depends on #6
The method according to claim 6, wherein the second data is of the form: c=H (x ∥ m)mod q where c is the second data, x is the third data, m is the message, q is prime and H is a hash function.
- Claim 9Depends on #6
The method according to claim 6, further comprising: receiving, at the verifier computing system, the message.
- Claim 10Depends on #1
The method according to claim 1, wherein the ephemeral key is shared between the verifier and the prover computing systems.
- Claim 11Depends on #1
The method according to claim 1, further comprising: receiving, by the verifier computing system, said public key.
- Claim 12Depends on #1
The method according to claim 1, further comprising: receiving, by the verifier computing system, said first data and said second data.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application is a 371 National Stage Patent Application of International Patent Application No. PCT/IB2020/053214, filed on Apr. 3, 2020, which claims priority to United Kingdom Patent Application No. 1905198.6, filed Apr. 12, 2019, the disclosures of which are incorporated herein by reference in their entirety. TECHNICAL FIELD This disclosure relates generally to a knowledge proof system for blockchain transactions, and more particularly to an on-chain non-interactive implementation of a knowledge proof system. The disclosure is particularly suited, but not limited to, use in a signature scheme for arbitrary data authentication. BACKGROUND In this document we use the term ‘ blockchain ’ to include all forms of electronic, computer-based, distributed ledgers. These include consensus-based blockchain and transaction-chain technologies, permissioned and un-permissioned ledgers, shared ledgers and variations thereof. The most widely known application of blockchain technology is the Bitcoin ledger, although other blockchain implementations have been proposed and developed. While Bitcoin may be referred to herein for the purpose of convenience and illustration, it should be noted that this disclosure is not limited to use with the Bitcoin blockchain and alternative blockchain implementations and protocols fall within the scope of the present disclosure. The term “ user ” may refer herein to a human or a processor-based resource. A blockchain is a peer-to-peer, electronic ledger which is implemented as a computer-based decentralised, distributed system made up of blocks which in turn are made up of transactions. Each transaction is a data structure that encodes the transfer of control of a digital asset between participants in the blockchain system, and includes at least one input and at least one output. Each block contains a hash of the previous block so that blocks become chained together to create a permanent, unalterable rec
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,603,792 B2 | Systems and methods for enforcing compliance or private transactions | 2026 | 0 |
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Efficient Signature Generation by Smart Cards, Universitat Frankfurt, C.P. Schnorr (Mar. 1991) (Year: 1991).
- Anonymous,
- “
- Find Sum of Two Nos. Using Only Bitwise Operators,
- ”
- https://prismoskills.appspot.com/lessons/Bitwise_Operators/Sum_using_only_bitwise_ops.jsp, 2019, 4 pages.
- Antonopoulos,
- “
- Mastering Bitcoin
- —