System and method for signing messages - Patents.com

The system uses a beacon device to efficiently sign messages through a single request and response session with multiple validator devices, leveraging homomorphic secret sharing and threshold decryption to enhance security and reduce computational overhead in unsecure networks.

JP7564868B2Active Publication Date: 2024-10-09GALAXY DIGITAL TRADING LLC

Patent Information

Application Number
JP2022514614
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-04
Filing Date
2020-09-01
Publication Date
2024-10-09
Estimated Expiration
2040-09-01

AI Technical Summary

Technical Problem

Existing cryptographic methods for digitally signing messages over unsecure networks, such as those used in blockchain environments, are computationally inefficient and prone to malicious attacks, leading to significant delays and resource-intensive processing.

Method used

A system and method involving a beacon device that calculates and transmits signature data values to multiple validator devices, allowing for a single request and response session to aggregate partial decryption values, using additive homomorphic secret sharing and threshold decryption processes to ensure secure digital signatures.

Benefits of technology

This approach reduces the number of communication rounds and computational resources required, enhancing security and efficiency by minimizing network delays and processor usage while maintaining robust cryptographic integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564868000012
    Figure 0007564868000012
  • Figure 0007564868000013
    Figure 0007564868000013
  • Figure 0007564868000014
    Figure 0007564868000014
Patent Text Reader

Abstract

A requester device for digitally signing a message sends a message to be signed over a network to each of a plurality of validator devices in a single request session, and a beacon device has at least one hardware processor that executes code to calculate and send a signature data value calculated and signed by the beacon device over the network to each of a plurality of validator devices, receive the signature data value and a respective partial-open decrypted value calculated for the message in a single response session from each one of the plurality of validator devices, and aggregate the partial-open decrypted values ​​received from the plurality of validator devices to calculate the digital signature for the message.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims the benefit of priority to U.S. Provisional Patent Application No. 16 / 559,693, filed September 4, 2019, the contents of which are incorporated herein by reference in their entirety. [Background technology]

[0002] The present invention in some embodiments thereof relates to network security, and more particularly, but not exclusively, to a system and method for digitally signing messages transmitted over a network.

[0003] Messages sent over insecure channels, such as publicly accessible networks, require a mechanism that allows the recipient to trust that the originator actually sent the message.

[0004] The encryption method is used to digitally sign the message.

[0005] Digital signatures of messages are used, for example, in a blockchain environment to verify the authenticity of a transaction, e.g., the transfer of cryptocurrency from one digital wallet to another. Summary of the Invention [Means for solving the problem]

[0006] According to a first aspect, a requester device for digitally signing a message transmits, in a single request session, a message to be signed to each of a plurality of validator devices over a network, and a beacon device comprises at least one hardware processor executing code for: calculating and transmitting, over the network, a signature data value calculated and signed by the beacon device to each of a plurality of validator devices; receiving, in a single response session from each one of the plurality of validator devices, the signature data value and a respective partial-open decrypted value calculated for the message; and aggregating the partial-open decrypted values ​​received from the plurality of validator devices to calculate the digital signature for the message.

[0007] According to a second aspect, a system for digital signature of a message comprises a plurality of validator devices, each including at least one hardware processor executing code for: receiving from a beacon device over a network a signature data value calculated and signed by the beacon device; receiving from a requester device over the network a message for signing in a single request session; calculating partial open decryption values ​​for the signature data value and each of the messages; and transmitting to the requester device in a single response session the respective partial open decryption values, wherein the requester device aggregates the partial open decryption values ​​received from the plurality of validator devices to calculate the digital signature for the message.

[0008] According to a third aspect, a system for digitally signing a message includes: (A) at least one hardware processor in a beacon device that executes code for calculating and transmitting a signature data value calculated and signed by the beacon device over a network to a respective one of a plurality of validator devices; and (B) a plurality of validator devices, each including at least one hardware processor that executes code for receiving messages for signing from requester devices over the network in a single request session, calculating respective partial open decryption values ​​for the signature data value and the message, and transmitting the respective partial open decryption values ​​to the requester device in a single response session, the requester device aggregating the partial open decryption values ​​to calculate the digital signature for the message.

[0009] Further implementations of the first, second, and third aspects further comprise code for identifying which of the multiple validator devices is malicious when the digital signature is not verified by comparing, for each validator device of the multiple validator devices, a first value calculated using a unique value of the respective validator device provided by the beacon device and using the message, and a second value calculated using the unique value and an indicator of a proof provided by the respective validator device based on the message.

[0010] In a further implementation of the first, second, and third aspects, the method further comprises code for verifying that the digital signature computed by aggregating the partial open decryption values ​​received from the multiple validator devices is a valid signature of the message.

[0011] In a further implementation of the first, second, and third aspects, further comprising code for computing an unencrypted signature of the message from the partial open decryption value.

[0012] In a further embodiment of the first, second and third aspects, the requester device is one of the plurality of validator devices.

[0013] In further embodiments of the first, second, and third aspects, the method further comprises code for checking whether the message is eligible for signing by a respective validator device of the plurality of validator devices according to a respective set of rules.

[0014] In a further implementation of the first, second and third aspects, the beacon device further comprises code for signing the signature data value and verifying that the signature data value has not been used previously.

[0015] In a further implementation of the first, second, and third aspects, the method further comprises code for calculating and transmitting over a network to each of the plurality of validator devices a public key and a respective split private key of a plurality of split private keys, wherein the signature data value comprises a Digital Signature Algorithm (DSA) private key calculated by the beacon device using a DSA process, the DSA private key being at least one encrypted with the public key corresponding to the private key split into the plurality of split private keys calculated based on an encryption process including an additive homomorphic and a threshold decryption process, and each one of the plurality of validator devices further comprises code for calculating a respective partial open decryption value using the signature data value and the respective split private key applied to the message.

[0016] In a further implementation of the first, second, and third aspects, the signature data value and the private key are split and shared to each of multiple validator devices using a secret sharing process that satisfies the properties of level-1 homomorphic sum secret sharing by allowing multiplication operations on encrypted values.

[0017] In a further implementation of the first, second, and third aspects, the split and shared signature data values ​​are selected from a plurality of signature data values ​​and the split and shared private keys are selected from a plurality of private keys used to compute the respective partial open decryption values ​​without the plurality of validator devices having knowledge of the particular signature data values ​​and the particular private key selected.

[0018] In further implementations of the first, second, and third aspects, the signature data value is shared with a respective one of the plurality of validator devices using a secret sharing process that is homomorphic with respect to addition, and each one of the plurality of validator devices further includes code for calculating the respective partial open decryption value based on the secret sharing process.

[0019] In further implementations of the first, second, and third aspects, some of the plurality of split private keys correspond to some of a plurality of validator devices, and the digital signature of the message is computed only if a number of the plurality of validator devices provide their respective partial open decryption values.

[0020] Further implementations of the first, second, and third aspects further comprise defining a minimum security level of a number of validator devices out of a total number of validator devices required to provide respective partial open decryption values ​​to calculate the digital signature of the message, and increasing the minimum security level up to a minimum threshold according to a set of rules, wherein a number of the plurality of split private keys corresponds to the total number of the validator devices, and the digital signature of the message is calculated if the number of the plurality of validator devices providing respective partial open decryption values ​​exceeds the minimum threshold.

[0021] Further implementations of the first, second, and third aspects further comprise dividing the total number of validator devices into at least two groups and providing by the beacon device a unique signature data value for each of the at least two groups, wherein the digital signature of the message is calculated only if all of the validator devices in each group provide a respective partial open decryption value calculated using a respective unique signature data value for each of the at least two groups.

[0022] In further implementations of the first, second, and third aspects, a message for signing is sent by a requester device over the network to a respective one of the multiple validator devices in a single request session, the signature data value and each partial open decrypted value of the message are received by the requester device in a single response session from a respective one of the multiple validator devices, and the partial open decrypted values ​​received from the multiple validator devices are aggregated by the requester device to compute the digital signature for the message.

[0023] In a further embodiment of the first, second and third aspects, the DSA process comprises Elliptic Curve DSA (ECDSA).

[0024] In a further implementation of the first, second and third aspects, the DSA process comprises an Edwards-curve DSA (EdDSA) process.

[0025] In a further implementation of the first, second, and third aspects, the signature data value includes the following components: (i) an inverse of a random value encrypted with the public key corresponding to the private key split into the multiple split private keys calculated based on an encryption process that is additively homomorphic and includes a threshold decryption process, and (ii) a following encryption with the public key corresponding to the private key split into the multiple split private keys calculated based on an encryption process that is additively homomorphic and includes a threshold decryption process, where the encryption is a product of the inverse of the random value, a hash of a known constant point multiplied to a power of the random value, and a DSA private key calculated by the beacon device using a DSA process.

[0026] In a further implementation of the first, second, and third aspects, the signature data value includes the following components: (i) the inverse of a random value divided into multiple first components using a secret sharing process that is homomorphic under addition, and (ii) the product of the inverse of the random value, a hash of a known constant point multiplied by a power of the random value, and an EdDSA private key calculated by the beacon device using the EdDSA, divided into multiple second components using the secret sharing process, wherein each of the multiple validator devices comprises a respective first and second component.

[0027] In a further embodiment of the first, second and third aspects, the signature data value further comprises (iii) a hash of the known constant point multiplied to the power of the random value.

[0028] In a further implementation of the first, second, and third aspects, the DSA private key for the signature data value is generated using an hd-tree that enables deriving a DSA private key from a base DSA private key using a derivation index value, and the derivation index value is provided to the multiple validator devices for locally computing the signature data value.

[0029] In further implementations of the first, second, and third aspects, the DSA private key comprises an EdDSA private key, and the hd-enabling deriving DSA-private keys from the base DSA-private key comprises deriving an EdDSA private key from the base EdDSA private key.

[0030] In further implementations of the first, second, and third aspects, the DSA private key comprises an ECDSA private key, and the hd-enabling deriving DSA-private keys from the base DSA-private key comprises deriving an ECDSA private key from the base ECDSA private key.

[0031] In further implementations of the first, second, and third aspects, the public key and the private key split into the multiple split private keys are calculated based on a threshold decryption process, further comprising code for calculating a plurality of DSA key pairs, encrypting a private key of each of the multiple DSA key pairs to create a plurality of encrypted private keys, providing the plurality of encrypted private keys to the plurality of validator devices, selecting one of the plurality of encrypted private keys, wherein the signature data value does not include the selected private key, providing an index of the selected encrypted private key to the plurality of validator devices, and the partial open decrypted value is calculated using the selected encrypted private key and the signature data value that does not include the selected private key.

[0032] In further implementations of the first, second, and third aspects, the DSA process comprises EdDSA, and further comprises code for computing a plurality of EdDSA key pairs, encrypting a private key of each of the plurality of EdDSA key pairs to create a plurality of encrypted private keys, providing the plurality of encrypted private keys to the plurality of validator devices, selecting one of the plurality of encrypted private keys, wherein the signature data value does not include the selected private key, providing an index of the selected encrypted private key to the plurality of validator devices, and wherein the partial open decryption value is computed using the selected encrypted private key and the signature data value that does not include the selected private key.

[0033] In further implementations of the first, second, and third aspects, the DSA process comprises ECDSA, and further comprises code for computing a plurality of ECDSA key pairs, encrypting a private key of each of the plurality of ECDSA key pairs to create a plurality of encrypted private keys, providing the plurality of encrypted private keys to the plurality of validator devices, selecting one of the plurality of encrypted private keys, wherein the signature data value does not include the selected private key, providing an index of the selected encrypted private key to the plurality of validator devices, and wherein the partial open decryption value is computed using the selected encrypted private key and the signature data value that does not include the selected private key.

[0034] In a further implementation of the first, second, and third aspects, the method further comprises splitting a plurality of encrypted private keys, selecting one of the plurality of split encrypted private keys, splitting a plurality of signature data values, selecting one of the split signature data values, and providing the selected split encryption keys and the selected split signature data values ​​to a plurality of validator devices using a secret sharing process that satisfies a property of level 1 homomorphic secret sharing by enabling a multiplication operation of encrypted values.

[0035] In a further implementation of the first, second and third aspects, the level-1 homomorphic secret sharing comprises level-1 homomorphic sum secret sharing.

[0036] In a further implementation of the first, second and third aspects, the beacon device calculates and transmits multiple instances of the signature data value without being triggered by the message.

[0037] In further embodiments of the first, second and third aspects, the beacon device is connected to the network unidirectionally such that traffic is transmitted from the beacon to the network but not from the network to the beacon.

[0038] In a further embodiment of the first, second and third aspects, the beacon device is implemented as a cold offline wallet connected to a hot wallet implemented as the requester device.

[0039] In a further embodiment of the first, second and third aspects, the message includes a cryptocurrency transaction for storage as a record in a blockchain.

[0040] In a further embodiment of the first, second and third aspects, the beacon repeatedly calculates and transmits the signature value.

[0041] In a further implementation of the first, second, and third aspects, after an initialization process, the beacon device calculates and transmits a defined number of instances of different public keys, corresponding private keys, and signature data values, and the multiple validator devices sign up for the predefined number of messages.

[0042] Unless otherwise defined, all technical and / or scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention pertains.Although methods and materials similar or equivalent to those described herein can be used in carrying out or testing embodiments of the present invention, exemplary methods and / or materials are described below.In case of conflict, the patent specification, including definitions, shall prevail.In addition, the materials, methods, and examples are illustrative only and are not necessarily intended to be limiting. [Brief description of the drawings]

[0043] Some embodiments of the present invention are described herein, by way of example only, with reference to the accompanying drawings. With particular reference now to the drawings in detail, it is emphasized that the particulars shown are by way of example and for purposes of illustrative discussion of the embodiments of the present invention. In this regard, the description with reference to the drawings will make apparent to those skilled in the art how the embodiments of the present invention may be practiced.

[0044] [Figure 1] 1 is a flowchart of a method for digitally signing a message using signature data provided by a beacon device, a single request session provided by a requester device, and a single response session from each of multiple validator devices according to some embodiments of the present invention. [Diagram 2] FIG. 1 is a block diagram of components of a system for digitally signing messages using signature data provided by a beacon device, a single request session provided by a requester device, and a single response session from each of multiple validator devices 208, according to some embodiments of the invention. [Diagram 3] FIG. 1 is a data flow diagram of a process for digitally signing a message using signature data provided by a beacon device, a single request session provided by a requester device, and a single response session from each of multiple validator devices, in accordance with some embodiments of the present invention. [Figure 4]1 is a flowchart of a method for digitally signing a message using signature data provided by a beacon device from the perspective of a beacon device according to some embodiments of the present invention; [Diagram 5] 1 is a flowchart of a method for digitally signing a message using signature data provided by a beacon device from the perspective of a requester device according to some embodiments of the present invention. [Figure 6] 1 is a flowchart of a method for digitally signing a message using signature data provided by a beacon device from the perspective of each validator device according to some embodiments of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0045] The present invention in some embodiments thereof relates to network security, and more particularly, but not exclusively, to a system and method for digitally signing messages transmitted over a network.

[0046] An aspect of some embodiments of the invention relates to a requester device, system, method, and / or code instructions (i.e., stored on a data storage device and executable by a hardware processor(s)) for digitally signing a message. The requester device sends a message to be signed to each of a number of validator devices in a single request session. At least a predefined number of the total number of validator devices or all of the validator devices are required to sign the message. The beacon device calculates and signs a signature data value and sends the signature value to each of the validator devices. Each validator device calculates a respective partial open decryption value for the signature data value and the message. The validator device receives a respective partial open decryption value from each validator device in a single response session. The requester device aggregates the partial open decryption values ​​to calculate a digital signature for the message.

[0047] Aspects of some embodiments of the invention relate to validator devices, systems, methods, and / or code instructions (i.e., stored on a data storage device and executable by a hardware processor) for digitally signing a message. Each one of the validator devices, or at least a minimum number of the validator devices out of the total number of validator devices, receives a copy of each of the signature data values ​​calculated by the beacon device and receives the message for signing from the requester device. The messages for signing are received from the requester device in a single request session. Each validator device calculates a partial open decryption value for each of the signature data values ​​and the message. Each partial open is sent to the requester device in a single response session. The requester device aggregates the received partial open decryption values ​​to calculate a digital signature for the message.

[0048] An aspect of some embodiments of the invention relates to a system, device, method, and / or code instructions (i.e., stored on a data storage device and executable by a hardware processor) for digital signature of a message. A beacon device calculates and signs a signature data value. The signature data value is provided to a plurality of validator devices. Each one of the validator devices, or at least a minimum number of the validator devices of the total number of validator devices, receives a respective copy of the signature data value and receives a message for signing from a requester device. The message for signing is received from the requester device in a single request session. Each validator device can verify that the message is eligible for signing by the respective validator device, e.g., satisfying a set of rules. Each validator device calculates the signature data value and a respective partial open decryption value of the message. Each partial open is transmitted to the requester device in a single response session. The requester device aggregates the received partial open decryption values ​​to calculate a digital signature for the message.

[0049] The signature data values ​​may be provided to multiple validator devices using an additive homomorphic secret sharing process (e.g., as described in www.semanticscholar.org / paper / Using-Level-1-Homomorphic-Encryption-to-Improve-DSA-Boneh-Gennaro / a57ae12ec05a71b22ce6504dce29c37c3f86d6fc, such as the secret sharing processes described below, Shamir's secret sharing, and / or Sum secret sharing) and / or using a multi-party computation (MPC) threshold process, e.g., an encryption scheme with the possibility of threshold decryption, such as Paillier.

[0050] Messages may be signed based on the Digital Signature Algorithm (DSA) process, and optionally signed based on any variant of Schnorr signature, e.g., the Elliptic Curve Digital Signature Algorithm (ECDSA), and / or the Edwards Curve Digital Signature Algorithm (EdDSA).

[0051] The beacon may be designed to be secure against malicious attacks and / or tampering. Optionally, the beacon is unidirectionally connected to the network such that traffic is only sent from the beacon to the network, but not from the network to the beacon. The unidirectional setup may provide an additional layer of protection against network-based malicious access. The beacon may be implemented as a cold offline wallet that stores cryptocurrency unidirectionally connected to the network, e.g., a hot wallet implemented as a requester device. The beacon may repeatedly calculate and transmit the signature data value without the need for an external trigger, e.g., without being triggered by a message signed using the signature data value. Alternatively or additionally, the beacon device transmits data as described herein after an initialization process.

[0052] At least some implementations of the systems, methods, apparatus, and / or code instructions described herein improve the art of computationally efficient digital signing of messages, e.g., digital signing of transaction records in publicly accessible networks, e.g., digital signing of cryptocurrency transactions. At least some implementations of the systems, methods, apparatus, and / or code instructions described herein address technical issues in cybersecurity, particularly messages that are digitally signed using encrypted processes due to the nature of publicly accessible networks, allowing malicious entities to attempt to hack and / or access messages, e.g., in an attempt to steal the cryptocurrency in a transaction. The technical issue is that to prevent malicious attacks, the cryptographic processes used to encrypt messages are becoming increasingly complex, and the computational burden placed on networks to implement complex secure cryptographic processes is becoming increasingly impractical.

[0053] Some signing processes are based on MPC, where a device requests that multiple other validator devices digitally sign a message. MPC signing processes require multiple rounds of data transmission to reconcile the common signature, e.g., each validator device communicates with every other validator device. Data to reconcile the common signature is problematic in a networked environment for several reasons. For example, significant delays occur due to multiple rounds of data transmission, processing the encrypted data multiple times, and / or the significant processing resources of each validator device to process the data sent and received. Network delays and / or processor utilization are particularly problematic when messages are signed in a blockchain environment (e.g., cryptocurrency transactions) because each server hosting a copy of the blockchain must perform the encryption process as part of the blockchain protocol.

[0054] Attempts have been made to improve the computational efficiency of MPC processes for digitally signing messages (e.g., in public network environments such as cryptocurrency transactions recorded on a blockchain), but a significant number of coordination rounds are still required. For example, the process described in www.semanticscholar.org / paper / Using-Level-1-Homomorphic-Encryption-to-Improve-DSA-Boneh-Gennaro / a57ae12ec05a71b22ce6504dce29c37c3f86d6fc requires 4 rounds (4n*(n-1) in a logical implementation) to achieve a digital signature.

[0055] Secure digital signing of messages using MPC is resource intensive. The amount of computation to sign a message requires significant computational resources, e.g., processor utilization, memory, and / or network bandwidth to transmit messages between signing entities. One standard solution can sign a message using six, or perhaps four, communication rounds, where in each communication round, one of multiple participating signers transmits a message to every other signer. Thus, the total number of messages transmitted over the network can be expressed as approximately 4n*(n-1) messages, in a logical implementation where n denotes the number of participating signers and further includes a delay of 4 ping times. Note that in practice, we assume that everything starts when every signer wants to sign a message. To get to that state, the signer needs to add an additional message from each signer to every other signer (i.e., n-1 messages), plus one additional ping time. Furthermore, each signing device implements complex and slow computations to perform their respective signing tasks, e.g., zero-knowledge proofs and additively homomorphic encryption. In contrast, at least some implementations of the systems, methods, devices, and / or code instructions described herein are based on signature data values ​​output by a beacon device that are used in the process of signing messages by multiple validator devices, reducing the number of messages to 2n-2 (exactly in some implementations) and reducing the time to two pings (including letting all validator devices know what to sign), which does not include an initial ping to see which devices are able to sign. In some implementations, the cryptographic techniques used are computationally efficient and / or fast without zero-knowledge proofs (e.g., when implementing Sum Secret Sharing). As described herein, the signature data values ​​output by a beacon device enable computationally efficient and / or fast encryption.

[0056] At least some implementations of the systems, methods, devices, and / or code instructions described herein provide a beacon device that provides a signature data value to a validator device, which reduces the number of rounds for signing a message to a single round, including a single request session in which a requester terminal (requesting a signature) sends data to the validator device, and a single response session in which the validator device sends data back to the requester terminal. A single round is much more computationally efficient (e.g., in terms of processor utilization, network latency, network bandwidth) compared to other processes that require multiple coordination rounds.

[0057] The signature data values ​​may be provided to multiple validator devices in a single transmission session, for example, using an additively homomorphic secret sharing process and / or an additively homomorphic multi-party encryption process, as described herein.

[0058] Beacon devices may be designed to be tamper-proof and / or secure, representing a trusted, uncompromised, authentic source of data.

[0059] The beacon device may be connected to the network in a unidirectional manner such that data is only transmitted from the beacon device to the validator device and / or the requester device over the network. The beacon device may be designed as a passive device that cannot be accessed externally by other network devices. The beacon device may be designed to operate automatically, for example, to generate and transmit data (e.g., keys, signature data values) at predefined intervals (e.g., the generated data may be time-stamped). The beacon device may be implemented, for example, as a cold wallet that stores cryptocurrency that is occasionally connected to the network at short intervals.

[0060] The signature data value calculated by the beacon device and thus representing the trusted, secure, uncontained data generated by the beacon device is verified by the validator device as having been signed by the beacon device. The signature data value may include a Digital Signature Algorithm (DSA) private key calculated by the beacon device using a DSA process, optionally an Elliptic-Curve DSA and / or Edwards-curve DSA, where the private key is additively homomorphic and encrypted with a public key (corresponding to a private key split into multiple split private keys) calculated based on an encryption process including a threshold decryption process. Alternatively, the signature data is shared with the validator device using a secret sharing process described herein.

[0061] At least some implementations of the systems, methods, devices, and / or code instructions described herein improve upon the technique of a multi-party computation (MPC) process for signing messages by using signature data values ​​generated by a beacon device to reduce the number of sending sessions and receiving sessions to a single sending session followed by a single response session, i.e., a single round. In contrast, as described herein, other approaches for MPC signatures are based on multiple sending sessions and multiple receiving sessions (sometimes referred to as "rounds"). The single sending session and single receiving session described herein refer to a single unidirectional exchange of data involved in signing a message. The single session does not refer to the two-way communication required to set up a communication channel for sending data over the single session, which is assumed to be performed based on one or more protocols such as, for example, TCP / IP. The single session is in contrast to multiple sessions (i.e., rounds) used by standard approaches, where, for example, to sign a message, every party needs to send messages to every other party in four rounds (in a logical implementation), resulting in, for example, 4n*(n-1) rounds, which represents the number of signing parties.

[0062] Before describing at least one embodiment of the invention in detail, it is to be understood that the invention is not necessarily limited in its application to the details of construction and the arrangement of components and / or methods set forth in the following description and / or illustrated in the drawings and / or examples, as the invention is capable of other embodiments or of being practiced or carried out in various ways.

[0063] The present invention may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions for causing a processor to perform aspects of the present invention.

[0064] A computer-readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards, and any suitable combination of the above. A computer-readable storage medium as used herein should not be interpreted as being a transitory signal in itself, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a wave guide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or an electrical signal transmitted through a wire.

[0065] The computer readable program instructions described herein can be downloaded to the respective computing / processing device from a computer readable storage medium or to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers.

[0066] A network adapter card or network interface within each computing / processing device receives computer readable program instructions from the network and transfers the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0067] The computer readable program instructions for carrying out the operations of the present invention may be either source code or object code written in any combination of one or more programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or conventional procedural programming languages, such as object oriented programming languages ​​such as Smalltalk, C++, and the like, and the "C" programming language or similar programming languages. The computer readable program instructions may be executed on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry, including, for example, programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry to perform aspects of the present invention.

[0068] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0069] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium that can direct a computer, programmable data processing apparatus, and / or other apparatus to function in a particular manner, such that a computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0070] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be executed on the computer, other programmable apparatus, or other device, such that the instructions executing on the computer, other programmable apparatus, or other device perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, to generate a computer-implemented process.

[0071] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or part of instructions, comprising one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions described in the blocks may occur out of the order described in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or may sometimes be executed in the reverse order, depending on the functionality involved in the blocks. It should also be noted that each block of the block diagrams and / or flowchart diagrams, as well as combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a special-purpose hardware-based system that executes the specified functions or operations, or executes a combination of special-purpose hardware and computer instructions.

[0072] Reference is now made to FIG. 1, which is a flow chart of a method for digitally signing a message using signature data provided by a beacon device, a single request session provided by a requester device, and a single response session from each of a plurality of validator devices, according to some embodiments of the present invention. FIG. 1 illustrates an overall system level data flow between multiple devices, including a beacon device, a requester device, a validator device, and optionally a third party device. Reference is also made to FIG. 2, which is a block diagram of components of a system 200 for digitally signing a message 202 using signature data provided by a beacon device 204, a single request session provided by a requester device 206, and a single response session from each of a plurality of validator devices 208, according to some embodiments of the present invention. The components of the system 200 may implement the operations of the methods described with reference to FIG. 1 and / or FIGS. 3-6 by code instructions stored in memory executed by one or more hardware processors of one or more devices (e.g., the beacon device 204, the requester device 206, the plurality of validator devices 208).

[0073] The system 200 may include one or more of the following components: A beacon device 204 providing a signature data value to a validator device 206 . A requester device 206 receives the message 202 for signing and signs the message 202 in coordination with multiple validator devices 208. * A plurality of validator devices 208 that together provide a signature of the message 202. *For simplicity and clarity of illustration, a single validator device 208 is shown in FIG. 2, however it will be understood that device 208 represents two or more validator devices. *The number of validator devices 208 can be selected according to the desired level of security, where a larger number of validator devices 208 provides greater security. * The third party device 210 may provide the message 202 to the requester device 206 for its signature. * Blockchain nodes 212 each store a copy of the blockchain that records signed messages, e.g., the blockchain stores records of signed transactions. * The beacon devices 204, the requester devices 206, the validator devices 208, the third party devices 210, and the blockchain nodes 212 can communicate with each other via the network 230.

[0074] The components of system 200 may be arranged in different architectures, by integrating two or more devices and / or by one device performing the features of one or more other devices, such as a combination of one or more of the following: * The requester device 206 is one of the validator devices 208. Alternatively, any one of the validator devices 208 may act as the requester 206. *The multiple validator devices 208 are blockchain nodes 212.

[0075] The communication channel (e.g., over network 230) between beacon 204 and / or requester device 206 and / or validator device 208 may be secure. Optionally, when beacon 204 transmits validator (e.g., signature data) to validator device 208 and / or requester device 206, validator device 208 and / or requester device 206 are the only devices authorized to read the transmitted data and / or verify that the data was transmitted by beacon 204. The secure communication channel may optionally be implemented over network 230, e.g., as a direct cable link, and / or using a symmetric encryption key that is common between beacon 204 and device 206 and / or 208, and / or each of beacon 204 and device 206 and / or 208 using a public key. In another example, the secure communication channel is established using a trusted controller as described with reference to U.S. Patent Application No. 62 / 775,942, entitled "SECURE CONSENSUS OVER A LIMITED CONNECTION," filed December 6, 2018, which includes at least one shared inventor, and which is hereby incorporated by reference in its entirety.

[0076] Each device 204, 206, 208, 210, and / or 212 may be implemented as, for example, a mobile device, a stationary device, a desktop computer, a server, a smartphone, a laptop computer, a tablet computer, a wearable computing device, a glasses computing device, a watch computing device, a computing cloud, a virtual machine, and a virtual server.

[0077] It should be noted that the beacon device 204 may be implemented as a cold storage wallet.

[0078] Each device 204, 206 and / or 208 includes a respective processor 214A-C that executes a respective code 218A-C stored in a respective memory 216A-C. The processors 214A-C may be implemented, for example, as a central processing unit (CPU), a graphics processing unit (GPU), a field programmable gate array (FPGA), a digital signal processor (DSP), an application specific integrated circuit (ASIC), customized circuitry, a processor for interfacing with other units, and / or a dedicated hardware accelerator. The processors 214A-C can be implemented as single processors, multi-core processors, and / or processor clusters arranged for parallel processing (which may include homogeneous and / or heterogeneous processor architectures).

[0079] Each memory 216A-C may be implemented as, for example, a hard drive, a random access memory (RAM), a read-only memory (ROM), an optical drive, an external storage device, and / or other storage device. It should be noted that the processors 214A-C may be designed to be implemented in hardware, one or more features that would otherwise be stored as code instructions by the respective memory 216A-C.

[0080] The beacon device 204 may include a data store 220A for storing data, such as a split key pair repository 222A for storing a split private key (generated by splitting a private key), a public key generated using an encryption process that is additively homomorphic and includes a threshold decryption process, a DSA key pair repository 222B for storing a pair of a public DSA key and a private DSA key generated for the signed message 202, and a signature data value repository 222C for storing a calculated signature data value. It should be noted that the split private key and / or DSA key and / or signature data value may be stored by the respective data store of the requester device 206 and / or the validator device 208, if provided, as described herein.

[0081] The requester device 206 may, for example, include a data store 220B that may store received messages 202 for signature, either separately and / or within a message repository.

[0082] Validator devices 208 may each include a data store 220C that stores a respective split key, for example in split key repository 224. Note that data store 220C may store other data, for example received signature data values ​​and / or received messages 202.

[0083] The data storage devices 220A-C may be implemented as, for example, random access memory (RAM), read only memory (ROM), non-volatile memory, magnetic media, semiconductor storage devices, hard drives, removable storage devices, optical media (e.g., DVD, CD-ROM), remote storage servers, and computing clouds. It should be noted that some data and / or code may be stored in each data storage device along with executable portions loaded into the respective memories.

[0084] Network 230 may be implemented, for example, as one or more of a wired-based network (e.g., Ethernet), a wireless-based network, the Internet, a local area network, a wide area network, a virtual private network, a virtual network, a cellular network, a short-range wireless network, a mesh network, and an ad-hoc network. Network 230 may be implemented using one or more protocols and / or network architectures.

[0085] One or more of the devices 204, 206 and / or 208 include a respective user interface 232A-C to present data to a user and may also include one or more mechanisms for inputting data, such as, for example, a touch screen, a display, a keyboard, a click, voice activated software, and a microphone. Some devices may operate without a user interface, for example, the validator device 208 may operate without a user interface.

[0086] One or more devices 204, 206, and / or 208 include respective network interfaces 234A-C for communicating with the network 230, such as physical and / or virtual components, such as one or more of an antenna, a network interface card, a wire port, a virtual interface implemented in software, network communications software providing a higher layer of network connectivity, an application programming interface (API), a software development kit (SDK), and / or other implementations.

[0087] At 102, the beacon device provides and signs a signature data value.

[0088] The signature data value, and optionally an associated timestamp, are provided (eg, transmitted) to multiple validator devices on the network.

[0089] The signature data value may be provided to multiple validator devices via a requester device, for example in an implementation where the beacon is not directly connected to the network, but is implemented as a cold wallet connected to a requester device implemented as a hot wallet, for example. The requester device receives the signature data value from the beacon device. The requester device may check that the signature data value has not been used before, for example it may perform a lookup operation on a dataset of previously used signature data values. Another example is checking a sequence number that the beacon sends with each signature data. The requester device may send the signature data value to multiple validator devices via the network.

[0090] A beacon is considered trusted by a validator device and / or a requester device.

[0091] The beacon can repeatedly calculate and / or generate the signature value, which can be further signed and / or further provided to the validator device. For example, a new signature value is generated periodically at every defined time interval (e.g., every microsecond, every second, every minute, every hour, or every other time interval). Alternatively or additionally, the beacon generates the signature value during a defined event, for example, upon initialization (e.g., resetting the beacon, connecting the beacon to a network connection node). Alternatively or additionally, after the initialization process (e.g., resetting the beacon, connecting the beacon to a network connection node), the beacon device calculates and provides a defined number of instances of different signature data values, and optionally different public keys, as well as corresponding private keys (when implementing additively homomorphic threshold encryption). The multiple instances allow the validator device to sign a number of messages up to a predefined number of instances.

[0092] The beacon device is designed to enhance security against malicious attacks, especially those that originate on the network. Optionally, the beacon device is connected to the network in one direction, such that traffic is sent from the beacon to the network, but not from the network to the beacon. For example, the beacon device is designed as a "dumb" device that generates and sends a signature value (and / or other data, such as a key) on the network, and optionally sends it when a connection is detected. The one-way feature reduces and / or prevents the risk of attacks over the network. Optionally, the beacon device is implemented as a cold offline wallet that is optionally connected to the network through an implemented hot wallet, optionally implemented as a requester device. Note that a hot wallet is vulnerable to malicious attacks because it is connected to the network, and therefore cannot be fully trusted. The cold wallet implementation reduces the risk of attacks, for example, by connecting the cold wallet to the hot wallet for a short interval of time when needed to execute a transaction. The cold wallet is kept offline and disconnected from the network the rest of the time, preventing access over the network by an attacker. Optionally, the beacon device provides one or more instances of the signature data value (and / or other data, such as different instances of the public key, the corresponding private key, etc.) without being triggered by a message and / or other indication that signature data is required, e.g., providing a signature value at regular intervals and / or initialization events. Disconnecting from the message can further reduce the risk of malicious activity, e.g., by preventing a situation in which a message is generated as a malicious attack. Alternatively, the beacon device may be configured to always be alive and generate multiple signature data values.

[0093] The signature data value may be provided to the validator device using, for example, an encryption process and / or a secret sharing process, which may be additively homomorphic.

[0094] The secret sharing process may be implemented for ECDSA and / or EdDSA, for example.

[0095] The secret sharing process described below is used with each pair of specific signature data values ​​selected from the multiple signature data values, and a specific private key selected from the multiple private keys that is used to calculate each partial open decryption value, without the validator device knowing the pair of the specific selected signature data value and the specific private key.

[0096] The secret sharing process described below is designed to split and share two secret values ​​among a number of participants (e.g., validator devices), denoted N, such that all N participants are required to reconstruct the secret. With the described secret sharing process, even if N-1 of the N participants are malicious, the N-1 malicious devices cannot obtain the secret, even through malicious mutual cooperation.

[0097] The secret sharing process described herein satisfies level 1 homomorphic secret sharing, which refers to the property that splitting a secret using a secret sharing process allows a single multiplication operation between the split parts of the secret that is equal to the operation of the whole (i.e., unsplit) secret.

[0098] The secret sharing process described herein enables a multiplication operation on encrypted values, thereby enabling one of the first encrypted value and the split second encrypted value (e.g., splitting a plurality of encrypted private keys, selecting one of the split encrypted private key values, selecting one of the split signature data values, and providing the selected split first and second values ​​(e.g., the selected encryption key and the selected split signature data value) to a plurality of devices (e.g., validator devices) using a secret sharing process described herein that satisfies the properties of level 1 homomorphic secret sharing (e.g., level 1 homomorphic secret sharing).

[0099] The secret sharing process described herein may be implemented for a cryptographic process (e.g., ECDSA) that requires a multiplication operation between two secrets that need to be kept secret. The cryptographic process may be applied in secret such that, as each participant (e.g., validator device) processes its respective portion of the secret and distributes the results, the secret is not made available even if N-1 participants are malicious.

[0100] The secret sharing process involves the generation of two secret values ​​k -1 and the private key denoted k -1 Knowledge of at least one value of the private key d enables control of the private key.

[0101] k -1 The secret sharing mechanism process for d is such that each participant (e.g., validator device) shares k -1 and d are described here as having a commonality for real-valued k -1 k that can be used to generate (m+r*d) -1 The secret sharing process can be calculated by k -1 and hides the actual value of d, which cannot be recovered without malicious cooperation of all participating devices.

[0102] The secret sharing process is k -1 It allows us to have multiple different values ​​of k and multiple different values ​​of d, so that the secret sharing mechanism can determine the k pair without knowing which pair will be used. -1 and can operate on each pair of shares of d.

[0103] A total secret sharing scheme is used so that a share is maintained over the value of d:

number

[0104] The described secret sharing mechanism is homomorphic for addition but not for multiplication, because in order to share k,d secretly:

number

[0105] The following formula holds:

number

[0106] Therefore:

number

[0107] The above is a linear equation and can be used as a requirement for the secret sharing process. For example, it can be calculated as follows:

number

[0108] At the same time, it is confirmed that the following formula holds:

number

[0109] This results in the following properties:

number

[0110] Based on the above, shares may be selected to provide level 1 homomorphic encryption. To ensure enforcement of the described secret sharing, a uniform selection may be performed from shares (e.g., all shares) that hold the following properties:

number

[0111] The described secret sharing implementation is secure against t-1 curious participants. For a particular chosen private key d for that secret sharing, there are multiple k -1 There may be a secret share, and a particular selected k for that secret share. -1 There may be multiple shares of secret keys d for . The secret sharing process described below can be used to find any k that still preserves the level-1 homomorphic secret sharing property with any pair. -1 For,,generate multiple shares and multiple shares for any,d,.

[0112] The "good sharing" (i.e., level-1 homomorphic secret sharing) property, denoted by R, is defined as follows:

number

[0113] Here, da indicates the share of d and ka indicates the share of k -1 k -1 .c*ka means multiplying each share, c+ka means adding c / n to each share, and ka′+ka means the same as vector addition (r=ka′+ka:ri=ka′i+kai).

[0114] For any constant, denoted c, the following holds: R(da,ka) -> R(da,c*ka) R(da,ka) -> R(c*da,ka)

[0115] Thus, for the constants represented by c1,2: R(da,ka) -> R(c1*da,c2*ka)

[0116] Based on the above, multiple k that operate with multiple d shares -1 Note that there can be k shares. However, the problem is that each participant device (e.g., a verification device) -1 The aim of the present invention is to know the linear ratio between each of the

[0117] Please note the following: (R(da,ka),R(da,ka′))->R(da,ka+ka′) (R(da,ka),R(da′,ka))->R(da+da′,ka)

[0118] If the following relationships hold (e.g., are selected and / or calculated): R(da,ka),R(da,ka′),R(da′,ka),R(da′,ka′),sum(ka)≠0,sum(ka′)≠0,sum(da)≠0,sum(da′)≠0 Any constants are represented as c1, c2, c3, and c4, R(c1*da+c2*da′,c3*ka+c4*ka′) It is.

[0119] If the above four linear equations hold, then (size of field) key sharing options are provided.

[0120] The key agreement process described above can be summarized as follows: Given:(da,ka),R(da,ka′),R(da′,ka),R(da′,ka′) Given at least one of k and / or a private key d Generate: uniformly, c1 Calculate: c2=(k-c1*sum(ka) / (sum(ka′)) The new key share is presented: c1*ka+c2*ka′ Below is a mathematical proof of the secret sharing process described above:

number

[0121] Other examples of secret sharing processes include, for example, those implemented according to Shamir's secret sharing (described, for example, with reference to cs.jhu.edu / ~sdoshi / crypto / papers / shamirturing.pdf) and / or Sum secret sharing.

[0122] An encryption process may be used, for example, when the communication channel between the beacon and the validator device is not secure. A secret sharing process may be used, for example, when the communication channel between the beacon and the validator device is secure.

[0123] The threshold decryption process may, for example, be implemented based on the Paillier process. In a threshold decryption process using split keys, validator devices can open the encrypted signature data without sharing it with each other, as described, for example, with reference to iacr.org / archive / pkc2003 / 25670279 / 25670279.pdf.

[0124] In terms of mathematical form, the additive homomorphic property of an encryption and / or secret sharing process may be described as follows: Given two encrypted values, denoted E(a) and E(b), both encrypted with the same secret key, + E The binary operations marked as E(a)+ E E(b) = E(a + b). Another operation marked as *E is a* E E(b)=E(a*b), where a denotes any member of the message space.

[0125] Optionally, when an encryption process is performed, the beacon devices generate public keys (e.g., multiple instances of different public keys) and corresponding private keys (e.g., a corresponding private key for each of the public keys), optionally using a threshold encryption process, e.g., based on Paillier. The private key is split into multiple split keys, each of which is provided to a different validator device. The public key may be provided to all validator devices and / or requester devices.

[0126] Optionally, another key pair is created, for example based on EdDSA and / or ECDSA.

[0127] Different implementations of the signature data value may be used.

[0128] Optionally, if DSA is implemented, the signature data value includes a DSA private key that can be encrypted with a public key that corresponds to a private key that has been split into multiple split private keys.

[0129] The number of split private keys can correspond to (eg, be equal to, or at least equal to) the number of validator devices.

[0130] Optionally, if the signature data is based on a cryptographic process, the signature data value includes one or more (optionally all) of the following components: (i) the inverse of a random value encrypted with a public key corresponding to the private key split into split private keys, (ii) the following encryption using a public key corresponding to the private key split into multiple split private keys: the product of the inverse of the random value and a hash of a known constant point multiplied to a power of the random value, and a DSA private key calculated by the beacon device using a DSA process, and (iii) the hash of the known constant point multiplied to a power of the random value.

[0131] To aid in understanding the mathematical notation used below, the following is an exemplary mathematical representation of the final computed signature of a message (e.g., computed in 112):

[0132] Let d represent some secret key, m represent a message, g represent a known constant point, k represent a random number, and H represent a hash function (e.g., sha256). Let H'(p) represent a particular hash of a point p that is part of the DSA algorithm (e.g., in ECDSA, H' represents the x-coordinate of p). (r,s)=(H′(g k ),k -1 *(H(m)+H′(g k )*d)) Note that this is the same as: (r,s)=(H′(g k ),k -1 *H(m)+k -1 *H′(g k )*d)

[0133] The following is an exemplary process for generating signature data based on a threshold encryption process performed by the beacon (eg, ECDSA) and / or DSA. 1. Choose a random value denoted by k. 2.k -1 , optionally denoting the inverse of the value k in the underlying group, e.g., k -1 mod(some value of n), where n may represent the number of validator devices. 3. E(k -1 ), using a public threshold additive homomorphic encryption (e.g., Paillier) key. Alternatively, k -1 is secret shared using an additive homomorphic secret sharing process (e.g., Shamir Secret Sharing and / or Sum Secret Sharing). The operation shows that E() can refer to encryption with a threshold additive homomorphic encryption process and / or secret shared using an additive homomorphic secret sharing process. 4.g k where g represents a known constant point. 5.k -1 *H′(g k ) to calculate 6. E(k -1*H′(g k )*d) with a public threshold encryption (e.g., Paillier) key to produce the value denoted by . Alternatively, the value may be shared secretly. 7. The signature data value is E(k -1 ), H′(g k ), E(k -1 *H′(g k Alternatively, the signature data value may include a value mathematically denoted as E(k -1 ), E(k -1 *H′(g k )*d), where H′(g k ) is sent only to the requester.

[0134] Alternatively, the above process may be implemented using secret sharing. A threshold encryption process may be used to derive a value (e.g., k -1 ) and allowing the value to be split among multiple validator devices (where, after an additive homomorphic operation, the validator devices can decrypt the encrypted value as described herein), -1 ) is provided using a secret share. The secret share is additively homomorphic, and after the operations described herein, each validator device has access to the secret value.

[0135] Optionally, a DSA private key (e.g., EdDSA and / or ECDSA) is generated using an hd tree. Multiple keys are generated using an hd tree, optionally without using level 1 Paillier. The hd tree allows for the derivation of ECDSA and / or EdDSA private keys from a base ECDSA and / or EdDSA private key and additional data, called chaindata. A private key device owner can give any other device the ability to derive a matching public key from a base public key by sending the device the chaindata. The hd tree allows for the derivation of a DSA private key from a base DSA private key using a derivation index value (e.g., derive a DSA private key from a base EdDSA private key, or derive an ECDSA private key from a base ECDSA private key). The derivation index value is provided to the validator device to locally compute the signature data value.

[0136] In mathematical notation: PrivateKey=d PublicKey=g d

[0137] Generate the value denoted by i using the derived index and the PublicKey: NewPrivateKey=PrivateKey+i=d+i NewPublicKey=PublicKey*g i =g d *g i =g d+i

[0138] If the key is generated using an hd tree, the signature data value may be implemented based on the following mathematical representation: E(k -1 ), E(k -1 *H′(g k )), E(k -1 *H′(g k )*d) Now, given a particular value of i, the following may be calculated: i* E E(k-1 *H′(g k ))+E(k -1 *H′(g k )*d)=E(k -1 *H′(g k )*(d+i)). The process described herein uses E(k -1 ), E(k -1 *H′(g k )*(d+i)).

[0139] E(k -1 *H′(g k )) is k -1 *E(H′(g k Note that the above can be calculated by

[0140] Optionally, if the public and private keys split into multiple split private keys are calculated based on a threshold decryption process, the beacon device generates and / or stores multiple instances of the key pair, for example acting as a multi-party computation (MPC) wallet with many keys.

[0141] Multiple keys are generated without necessarily generating a new, different signature data value for each private key. For example, a single signature data value is generated for a set of multiple keys. The same (e.g., single) signature data value is used only once for a single selected key of a set of multiple keys. The following is an exemplary process for implementing multiple key sets with the same (e.g., single) signature data value: Multiple DSA (e.g., EdDSA and / or ECDSA) key pairs are generated. Each private key of the key pair is encrypted to create multiple encrypted private keys. The encrypted private keys are provided to multiple validator devices. One of the encrypted private keys is selected, for example, by the beacon and / or requester device. The signature data value does not include the selected private key. An indication of the selected encrypted private key is provided to the validator device. A partial open decryption value (e.g., as described with reference to 108) is calculated by each validator device using the selected encrypted private key and the signature data value without the selected private key.

[0142] If multiple pairs of keys with the same signature data value are implemented, the threshold encryption process used may allow for one multiplication, e.g., level 1 additive homomorphic encryption, as described, for example, in the secret sharing process described herein with reference to 102 in FIG. 1 and / or with reference to www.semanticscholar.org / paper / Using-Level-1-Homomorphic-Encryption-to-Improve-DSA-Boneh-Gennaro / a57ae12ec05a71b22ce6504dce29c37c3f86d6fc.

[0143] In mathematical terms, the beacon calculates E(d i ) The signature data value is E(k -1 ), H′(g k ), E(k -1 *H′(g k)). The beacon and / or requester device selects one of the keys and provides an indication of the selected key to the validator devices. Each validator device computes H(m)* E E(k -1 )+ E E(k -1 *H′(g k ))* E_level_1 E(d i ) for each partial open (e.g., 108). The secret values ​​(e.g., private keys and signature data values) may be shared using, for example, a level 1 homomorphic sum secret sharing process, as described herein.

[0144] An implementation using EdDSA MPC is now described, optionally in the context of a beacon device implemented as a GK8 wallet. The implementation can be based on GK8 MPC with an underlying EdDSA signature (e.g., on an Ed25519 elliptic curve). Note that EdDSA signatures are a variant of Schnorr signatures, and other suitable implementations can be used. EdDSA may be chosen over ECDSA, for example, if ECDSA includes a distribution problem of distributively inverting group elements that is not present in Schnorr signatures like EdDSA.

[0145] Below is a description of the keys (both private and public) and the signature and a general overview of the process of EdDSA signatures. A private key in the EdDSA signature scheme is a b-bit string, denoted as k, for some security parameter, denoted as b. A public key is denoted as A = s · B (note that multiplication by a scalar is defined by the underlying group), where B denotes a predefined point on the underlying curve, and s = H0,...b-1(k) as a predefined target collision-resistant hash function, denoted as H (e.g., for Ed25519 SHA-512). An EdDSA signature on a message, denoted as M, is denoted as a pair (R,S) as follows: R=r B, where r=H(Hb,....2b-1||M) S = r + H(r||A||M) mods L, where L denotes the ordering of the underlying groups.

[0146] An EdDSA signature is verified by checking whether the following formula holds: S B = R + H(R||A||M) A

[0147] Note that in an actual implementation, M denotes a hashed version of the original message m. Details of EdDSA are described in RFC8032 and elsewhere.

[0148] Note that the embodiments described herein based on beacon devices, validator devices, and requester devices can be uneven, since one device can request a signature on any message, and any one of the validator devices can act as a requester device (as opposed to the standard approach where the message to be signed is assumed to be known by all parties). This is handled outside of the MPC, and therefore it can be assumed that the co-signers (i.e., validator devices) can verify that the request to participate in threshold signatures is legitimate. To achieve threshold signatures, an additive homomorphic scheme is implemented that allows threshold decryption, which includes one stage of partial decryption and one stage of combining all of the partially decrypted shares to form a decryption. For example, secret sharing schemes (e.g., Shamir secret sharing) and / or additive homomorphic encryption schemes (e.g., Paillier) and / or primitives are compatible and secure. The encryption / cipher of this scheme is denoted as E, and the additive homomorphic action is + E and the multiplication of some element, denoted by e, is denoted by g. e This is expressed as:

[0149] We now briefly describe an implementation of EdDSA MPC. Note that r is defined as a deterministic value given the message and the private key. r may be completely random to perform threshold signatures. As implemented here, r may be random rather than shared on the fly, which is technically difficult or impossible since it depends on the message. In some implementations, the requester acts as one of the validator devices required for simultaneous signatures. The message to be signed is denoted as m, where M denotes the hashed message. The beacon device samples the private key, denoted by k, computes s as above, and shares the value using the underlying additive homomorphic scheme. Let si denote the share of the validator device, denoted by i. Note that when additive homomorphic encryption schemes are used, the share is of its decryption key, and all validator devices receive E(s). The beacon device may broadcast a public key, denoted A, and the beacon device may randomly sample R and share (i, E(r), R) [i.e., the signature data], where R is computed as above and i is a unique index. The requester device may provide (e.g., broadcast) a pair m, i, where i denotes an index of an unused signature data tuple and m denotes the message to be signed (e.g., as in 106). Upon receiving the signature request, each validator device may verify (e.g., as in 108) that the message m is legitimate and that i is an unused signature data tuple. Let E(r),R denote the pair indexed by i. Each validator device performs a partial decryption of the following computation (e.g., as in 108): E(S)=E(r)+E(s) H(R||A||M) =E(r+H(r||A||M)·r)

[0150] Each partial open decryption value is provided to the requester device (e.g., as at 110). Upon receiving all the partial open decryption values ​​(e.g., the requester device can calculate its own partial open decryption values), the requester device combines all the shares to obtain S (e.g., as at 112). The requester device can publish (R, S) as a signature of m (e.g., as at 114).

[0151] At 104, a message for signing is received by the requester device. The message may be received, for example, from a third party device, the requester device itself, and / or other devices. The message may be any message for digital signing to increase security of the message. For example, the message may be a cryptocurrency transaction between two digital wallets. The transaction record may be stored in a blockchain dataset. In another example, the message may be an entry in a database where the message is signed for additional security.

[0152] A requester device may operate as a hot wallet that may be connected to a beacon, for example a beacon implemented as a cold wallet.

[0153] At 106, the message for signing is provided by the requester device to a number of validator devices.

[0154] The message for signing is provided over the network in a single request session.

[0155] The message may be sent to as many validator devices as needed for a joint signature, with all validator devices being required to sign the message. Alternatively, the message may be sent to a number of validator devices that is greater than a minimum threshold number of validator devices needed to jointly sign the message. The message is signed if there is a minimum number of validator devices that sign at least each part.

[0156] Each validator device receives messages for signing in a single request session.

[0157] Optionally, the requester device is one of the validator devices. Alternatively, the requester device is not one of the validator devices.

[0158] Validator devices connected to the network are trusted by requester devices (e.g., hot wallets) but may be vulnerable to malicious attacks over the network. Using multiple validator devices to sign messages can reduce the risk of malicious attacks.

[0159] At 108, each of the validator devices calculates a partial open decryption value for each of the signature data values ​​and the message.

[0160] Each partial open decryption value is calculated according to the implementation used to provide the signature data value, e.g., using a respective split private key applied to the signature data value and the message, and / or using each partial open decryption value based on a secret sharing process.

[0161] Optionally, prior to calculation of the respective partial open decryption values, each of the validator devices checks whether the message qualifies for signature by the respective validator device. For example, the message may be evaluated according to a respective rule set that defines, for example, when the value of the cryptocurrency transaction is within a range and / or below a maximum value, the originating address of the message is valid, the destination address of the message is valid, the originating wallet has sufficient cryptocurrency stored therein to enable the cryptocurrency transaction to another wallet, etc. In another example, the message is presented on a display for viewing by a human operator. The human operator can manually approve the signature of the message or reject the signature of the message, for example, by pressing an approve or reject icon presented on the display.

[0162] Optionally, each of the validator devices verifies that the beacon device signed the signature data value and / or that the signature data value has not been used previously by the respective validator device.

[0163] Each of the validator devices can perform its own checking and / or validation process independent of the other validator devices.

[0164] When the signature data is based on a threshold encryption process and / or DSA (e.g., ECDSA), the partial open decryption value may be calculated as follows: First, using a value extracted from the signature data value, H(m)* E E(k -1 )+ E E(k -1 *H′(g k )*d)=E(k -1 *H(m)+k -1 *H′(g k )*d)(==H(s)) to calculate the partial open decryption value E(k -1 *H(m)+k -1 *H′(g k)*d is computed by each validator device using its respective split key as described in people.csail.mit.edu / rivest / voting / papers / DamgardJurikNielsen-AGeneralizationOfPailliersPublicKeySystemWithApplicationsToElectronicVoting.pdf.

[0165] Alternatively, the signature data is provided using a secret share, as described herein.

[0166] At 110, each partial open decryption value computed by each validator device is provided in a single response session to the requester device. The requester device receives the signature data value and each partial open decryption value computed for the message in a single response session from a respective one of the multiple validator devices.

[0167] At 112, the requester device aggregates the partial open decryption values ​​received from the validator devices to calculate a digital signature for the message.

[0168] The requester device computes the unencrypted signature of the message from the partial open decryption value.

[0169] Optionally, the requester device verifies that the digital signature (computed by aggregating the partial open decryption values ​​received from the validator devices) is a valid signature of the message, e.g., that none of the validator devices are attempting malicious activity.

[0170] Optionally, the requester device verifies that all participating devices have correctly computed their respective partial opens. Each partial open decryption value provided by each validator device may include an indication of proof that each validator device computed its respective partial open, e.g., using a zero-knowledge proof and / or a process described below. The indication of proof may be provided, for example, as a single message and / or metadata. For example, using a secret sharing process (e.g., a total secret share), each validator device may generate its own unique value a i , b i (For example, in the case of ECDSA, (a i k -1 *r*d) and (b i = k^-1)) and obtain the value b i +(a i *H(m)), where H denotes a hash function as described herein, and m denotes the message to sign as described herein. i and b i denotes a value that may be obtained from the beacon device and / or may be a predefined value, for example. ai and g bi to the requester device, where g may denote a point on the curve, e.g., when implementing ECDSA, e.g., as described herein. If verification of the digital signature fails, the particular participant causing the failure may be detected and excluded from signing further messages. For example, the following relationship may be verified for each participant:

number

[0171] If the relationship is not satisfied for a particular participant, the particular participant may be designated as malicious and excluded from further signing of the message. Optionally, the digital signature of the message is computed only if all number of validator devices provide their respective partial open decryption values ​​(i.e., N out of N). Note that Sum Secret Sharing is compatible with N out of N.

[0172] Alternatively, when a number of validator devices exceeding a minimum threshold number of devices provide their respective partial open decryption values ​​(i.e., K out of N), a digital signature for the message is calculated. Note that Sum Secret Sharing is not compatible with K out of N, so another process (e.g., as described herein) should be used. The technical challenge with implementing K out of N is that if a hacker can access less than K (e.g., two) validator devices (e.g., a 6 out of 10 situation), the hacker can use the same signature data value to sign the first message and the second message (using other validator devices). By using the same signature data value twice, the hacker can find the private key. In general, in a K out of N situation, a number of validator devices, denoted by max(1,2K-N), can be attacked so that the hacker can find the private key. When K and N are small or K is close to N (i.e., when the operation N is chosen for computational efficiency), one possible solution is to split the validator devices into two or more groups. Different keys, split into multiple subkeys, are created for the different groups. Each different key is associated with a different signature data value. Alternatively, different signature data values ​​are generated for the different groups, and the requester devices know which validator devices are members of which groups. Another solution, which may consist of the first solution of splitting into groups, is to define a minimum security level for a number of validator devices out of the total number of validator devices required to provide their respective partial open decryption values ​​to compute the digital signature of the message. The minimum security level is increased to a minimum threshold according to a set of rules, e.g., at least (K+N) / 2 validator devices.A second solution may, for example, be used when the numbers K and / or N are large, e.g., when K is greater than half N, and the second solution is combined with the first solution of dividing into groups, where each group has a number of validator devices, denoted A, the set of rules defining the minimum threshold may be denoted as (K+A) / 2.

[0173] In mathematical terms, the unencrypted signature of a message is calculated using the following formula: s=k -1 *H(m)+k -1 *H′(g k )*d

[0174] In mathematical terms, the requester device can calculate the time-domain probability distribution (r,s) = (H′(g k ),k -1 *H(m)+k -1 *H′(g k )*d) is a valid signature for m.

[0175] At 114, the requester device can provide a calculated signature of the message, for example, that is published, made publicly accessible, provided to the requesting third party device, and / or stored on the blockchain.

[0176] In terms of mathematical representation, (r,s) is provided.

[0177] Referring now to Figure 3, a data flow diagram of a process for digitally signing a message using signature data provided by a beacon device, a single request session provided by a requester device, and a single response session from each of multiple validator devices is shown, according to some embodiments of the present invention. Figure 3 shows an overall system level data flow between multiple devices, including a beacon device, a requester device, a validator device, and optionally a third party device. One or more features of the data flow diagram of Figure 3 may correspond to other features described herein, for example, as described with reference to Figure 1. The data flow shown in Figure 3 may be implemented by components of the system 200 described with reference to Figure 2.

[0178] At 302, a message for signing is received and transmitted to the requester device 206 by a third party device 210 (and / or another device), for example, as described herein with reference to 104 in FIG.

[0179] At 304 , the signature data values ​​generated by the beacon device 204 are provided to a number of validator devices 208 .

[0180] The signature data value may be provided, for example, via an encryption process and / or via a secret sharing process, for example, as described herein with reference to 102 of FIG. 1 .

[0181] It should be noted that 302 and 304 may be performed independently of one another and in different orders, e.g., 304 occurring before 302, 302 occurring simultaneously with 304, and / or 302 and 304 occurring at different times independent of one another.

[0182] At 306, the message for signing is provided by the requester device 206 to the validator device 208 in a single request session, for example as described herein with reference to 106 in FIG.

[0183] At 308, each of the validator devices 208 calculates a respective partial open decryption value of the signature data value and the message, for example, as described herein with reference to 108 in FIG.

[0184] At 310, the partial open decryption values ​​computed by the validator device 208 are provided to the requester device 206 in a single response session, for example as described herein with reference to 110 of FIG.

[0185] At 312, the requester device 206 aggregates the received partial open decryption values ​​to compute a digital signature for the message, for example, as described herein with reference to 112 in FIG.

[0186] At 314, the requester device 206 provides a digital signature of the message to the third party device 210, for example, as described herein with reference to 114 in FIG.

[0187] Reference is now made to Fig. 4, which is a flowchart of a method for digitally signing a message from the perspective of a beacon device using signature data provided by the beacon device, according to some embodiments of the present invention. One or more features of the method of Fig. 4 may correspond to other features described herein, for example, as described with reference to Fig. 1. The process shown in Fig. 4 may be implemented by components of system 200 described with reference to Fig. 2.

[0188] At 402, a beacon device may be connected to a network. A beacon device may be offline and connected to a network connection node, e.g., a cold wallet connected to a hot wallet. A beacon device may be connected to a network, e.g., by being woken up by triggering an initialization procedure.

[0189] At 404, the beacon device generates one or more signature data values. The signature data values ​​may be generated periodically and / or triggered by an initialization procedure, as described herein. As described herein, individual signature data values ​​may be generated periodically and / or multiple signature data values ​​may be generated together, for example, at start-up.

[0190] Other data may be generated as described herein, such as a public-private key pair. The private key may be split into multiple split keys as described herein.

[0191] At 406, the signature data value is provided to a validator device, for example, using an encryption process and / or a secret sharing process as described herein.

[0192] Other data, such as multiple split keys, may be provided to the validator device as described herein.

[0193] Reference is now made to Figure 5, in which a flow chart of a method for digitally signing a message using signature data provided by a beacon device, according to some embodiments of the present invention, is shown from the perspective of a requester device. One or more features of the method of Figure 5 may correspond to other features described herein, for example, as described with reference to Figure 1. The process shown in Figure 5 may be implemented by components of system 200 described with reference to Figure 2.

[0194] At 502, a requester device receives a message for signing, for example, from a third party device.

[0195] At 504, a requester device provides messages to multiple validator devices in a single request session.

[0196] At 506, the requester device receives a plurality of partial open decrypted values ​​from a plurality of validator devices (ie, a respective partial open decrypted value from each validator device).

[0197] The requester device calculates a digital signature for the message from the received partial open decrypted values ​​at 508. The requester device may aggregate the received partial open decrypted values ​​to calculate the digital signature.

[0198] An unencrypted signature of the message may be computed from the partial open decryption value.

[0199] At 510, the requester device may verify that the digital signature is a valid signature of the message.

[0200] At 512, the digital signature is provided to the originator of the message for signing, such as, for example, a third party device.

[0201] Reference is now made to Figure 6, which is a flowchart of a method, from the perspective of each validator device, for digitally signing a message using signature data provided by a beacon device, according to some embodiments of the present invention. Each validator device may perform one or more features of the method of Figure 6. One or more features of the method of Figure 6 may correspond to other features described herein, for example, as described with reference to Figure 1. The process shown in Figure 6 may be implemented by components of system 200 described with reference to Figure 2.

[0202] At 602, each validator device receives the signature data value generated by the beacon, for example, via an encryption and / or secret sharing process.

[0203] Other data may be received, for example, respective split private and / or public keys, as described herein.

[0204] At 604, each validator device receives a message for signing in a single request session.

[0205] At 606, each validator device may perform one or more validation processes before signing the message.

[0206] Optionally, each validator device can check whether the message qualifies for a signature. Each validator device can perform its own independent check, e.g., using its own set of rules. Note that for some messages, some validator devices may determine the message eligibility for a signature, while other validator devices may determine that the message does not qualify for a signature.

[0207] Alternatively or additionally, each validator device may check that the beacon device has signed the signature data value, and that the signature data value has not been used before.

[0208] At 608, each validator device computes a partial open decryption value for each of the signature data values ​​and the message.

[0209] At 610, each validator device provides its respective partial open decryption value to the requester device in a single response session.

[0210] The description of various embodiments of the present invention has been presented for purposes of illustration, but is not intended to be exhaustive or limited to the disclosed embodiments.

[0211] Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

[0212] The terms used in this specification have been selected to best explain the principles of the embodiments, practical applications or technical improvements to technology found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

[0213] It is expected that many related message signatures will be developed during the life of the patent that matures from this application, and the scope of the term message signature is intended to include a priori all such new technologies.

[0214] As used herein, the term "about" refers to ±10%.

[0215] The terms "comprises," "comprising," "including," "including," "having," and combinations thereof mean "including, but not limited to."

[0216] This term encompasses the terms "consisting of" and "consisting essentially of."

[0217] The phrase "consisting essentially of" means that the composition or method may contain additional components and / or steps, but only if the additional components and / or steps do not materially alter the basic and novel characteristics of the claimed composition or method.

[0218] As used herein, the singular forms "a," "an," and "the" include plural references unless the context clearly dictates otherwise. For example, the term "a compound" or "at least one compound" can include a plurality of compounds, including mixtures thereof.

[0219] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration."

[0220] Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments, and / or as excluding the incorporation of features from other embodiments.

[0221] The term "optionally" is used herein to mean "is provided in some embodiments and is not provided in other embodiments."

[0222] Any particular embodiment of the present invention may include multiple "optional" features unless such features are inconsistent.

[0223] Throughout this application, various embodiments of the invention may be presented in a range format. It should be understood that the description in range format is merely for convenience and brevity and should not be construed as an inflexible limitation on the scope of the invention. Thus, the description of a range should be considered to have specifically disclosed all possible subranges as well as individual numerical values ​​within that range. For example, the description of a range such as 1-6 should be considered to have subranges such as 1-3, 1-4, 1-5, 2-4, 2-6, 3-6, etc., as well as subranges specifically disclosing individual numbers within that range, such as 1, 2, 3, 4, 5, and 6. This applies regardless of the breadth of the range.

[0224] Whenever a numerical range is given herein, it is meant to include any recited numbers (fractional or integer) within the given range. The phrase "ranging / ranges between" refers to a first recited number and a second recited number, and "ranging from" refers to the first recited number "to" a second recited number, which are used interchangeably herein and are meant to include the first and second recited numbers, and all decimals and integers therebetween.

[0225] It will be understood that certain features of the invention that are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, for brevity, various features of the invention that are described in the context of a single embodiment may also be provided separately or in any suitable subcombination or as appropriate with any other described embodiment of the invention. Certain features described in the context of various embodiments are not to be considered essential features of those embodiments, unless the embodiments are inoperable without those elements.

[0226] While the invention has been described in conjunction with specific embodiments thereof, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art. Accordingly, the present invention is intended to embrace all such alternatives, modifications, and variations that fall within the spirit and broad scope of the appended claims.

[0227] All publications, patents, and patent applications mentioned in this specification are incorporated herein by reference in their entirety as if each individual publication, patent, or patent application was specifically and individually indicated to be incorporated herein by reference. Furthermore, citation or identification of any reference in this application should not be construed as an admission that such reference is available as prior art to the present invention. To the extent that section headings are used, they should not be construed as necessarily limiting. Furthermore, any priority documents of this application are incorporated herein by reference in their entirety.

Claims

1. transmitting, in a single request session, a message for signing over a network to each of a plurality of validator devices; the beacon device calculates and transmits the signature data value calculated and signed by said beacon device over a network to each of a plurality of validator devices; receiving in a single response session from a respective one of the plurality of validator devices a respective partial-open decrypted value calculated for the signature data value and the message; and aggregating the partial open decryption values ​​received from the multiple validator devices to compute a digital signature for the message; at least one hardware processor executing code for A requestor device for said digital signature of a message.

2. code for identifying which of the plurality of validator devices is malicious when the digital signature is not verified by comparing, for each validator device of the plurality of validator devices, a first value calculated using a unique value of the respective validator device provided by the beacon device and using the message with a second value calculated using the unique value and an indication of a proof provided by the respective validator device based on the message; 2. The requester device of claim 1.

3. and further comprising code for verifying that the digital signature computed by aggregating the partial open decryption values ​​received from the multiple validator devices is a valid signature for the message.

2. The requester device of claim 1.

4. and further comprising code for computing an unencrypted signature of the message from the partial open decryption value.

2. The requester device of claim 1.

5. the requester device is one of the plurality of validator devices; 2. The requester device of claim 1.

6. receiving from the beacon device over the network a signature data value calculated and signed by the beacon device; receiving, over the network, a message for signing from a requester device in a single request session; Computing partial open decryption values ​​for each of the signature data values ​​and the message; and transmitting each of the partial open decrypted values ​​to the requester device in a single response session; a plurality of validator devices, each of the validator devices including at least one hardware processor executing code for: the requester device aggregates the partial open decryption values ​​received from the multiple validator devices to calculate a digital signature for the message. A system for digitally signing a message.

7. and code for checking whether the message is eligible for signing by a respective validator device of the plurality of validator devices according to a respective set of rules. The system of claim 6.

8. the beacon device further comprising code for signing the signature data value and verifying that the signature data value has not been used previously; The system of claim 6.

9. (A) at least one hardware processor of the beacon device that executes code for calculating and transmitting a signature data value calculated and signed by the beacon device over a network to a respective one of a plurality of validator devices; (B) receiving, over the network, a message for signing from a requester device in a single request session; calculating respective partial open decryption values ​​for said signature data value and said message; sending each partial open decryption value in a single response session to the requester device, which aggregates the partial open decryption values ​​to calculate a digital signature for the message; a plurality of validator devices each including at least one hardware processor executing code for:

1. A system for digitally signing a message comprising:

10. and code for computing and transmitting to each of the plurality of validator devices over the network a public key and a respective split private key of a plurality of split private keys, the signature data value including a Digital Signature Algorithm (DSA) private key computed by the beacon device using a DSA process, at least one of the DSA private keys encrypted with the public key corresponding to the private key split into the plurality of split private keys computed based on an encryption process including an additive homomorphic and a threshold decryption process; each one of the plurality of validator devices further includes code for calculating the respective partial open decryption value using the signature data value and the respective split private key applied to the message; The system of claim 9.

11. the signature data value and the private key are split and shared to each of a number of validator devices using a secret sharing process that satisfies the property of level-1 homomorphic sum secret sharing by allowing multiplication operations on encrypted values; The system of claim 9.

12. the split and shared signature data values ​​are selected from a plurality of signature data values, and the split and shared private keys are selected from a plurality of private keys used to compute the respective partial open decryption values ​​without the plurality of validator devices having knowledge of the particular signature data values ​​and the particular private keys selected. The system of claim 11.

13. the signature data value is shared with a respective one of the plurality of validator devices using a secret sharing process that is homomorphic for addition; each one of the plurality of validator devices further includes code for calculating the respective partial open decryption value based on the secret sharing process. The system of claim 9.

14. some of the split private keys correspond to some of a plurality of validator devices, and the digital signature of the message is computed only if a number of the plurality of validator devices provide their respective partial open decryption values. The system of claim 10.

15. defining a minimum security level of a number of validator devices out of a total number of validator devices required to provide respective partial open decryption values ​​to calculate the digital signature of the message, and increasing the minimum security level according to a set of rules up to a minimum threshold, wherein a number of the plurality of split private keys corresponds to the total number of the validator devices, and the digital signature of the message is calculated if the number of the plurality of validator devices providing respective partial open decryption values ​​exceeds the minimum threshold. The system of claim 10.

16. dividing the total number of validator devices into at least two groups and providing by the beacon device a unique signature data value for each of the at least two groups, wherein the digital signature of the message is calculated only if all of the validator devices in each group provide a respective partial open decryption value calculated using a respective unique signature data value for each of the at least two groups. The system of claim 10.

17. a message for signing is sent by a requester device over the network to a respective one of the plurality of validator devices in a single request session; the signature data value and each partial open decryption value of the message are received by the requester device in a single response session from a respective one of the plurality of validator devices; the partial open decryption values ​​received from the multiple validator devices are aggregated by the requester device to compute the digital signature for the message. The system of claim 9.

18. The DSA process comprises Elliptic Curve DSA (ECDSA), The system of claim 10.

19. the DSA process comprises an Edwards-curve DSA (EdDSA) process; The system of claim 10.

20. The signature data value includes the following components: (i) an inverse of a random value encrypted with the public key corresponding to the private key divided into the multiple split private keys calculated based on an encryption process that is additively homomorphic and includes a threshold decryption process; and (ii) an encryption with the public key corresponding to the private key divided into the multiple split private keys calculated based on an encryption process that is additively homomorphic and includes a threshold decryption process, the encryption being a product of the inverse of the random value, a hash of a known constant point multiplied to a power of the random value, and a DSA private key calculated by the beacon device using a DSA process. The system of claim 10.

21. the signature data value includes the following components: (i) an inverse of a random value divided into a plurality of first components using a secret sharing process that is homomorphic under addition; and (ii) a product of the inverse of the random value, a hash of a known constant point multiplied to a power of the random value, and an EdDSA private key computed by the beacon device using the EdDSA, divided into a plurality of second components using the secret sharing process, each of the plurality of validator devices comprising a respective first and second component. The system of claim 10.

22. the signature data value further comprises: (iii) a hash of the known constant point multiplied to the power of the random value; 22. The system of claim 21.

23. the DSA private key for the signature data value is generated using an hd-tree that enables a DSA private key to be derived from a base DSA private key using a derivation index value, the derivation index value being provided to the multiple validator devices for locally computing the signature data value; The system of claim 10.

24. the DSA private key comprises an EdDSA private key, and the hd-enabling deriving DSA-private keys from the base DSA-private key comprises deriving an EdDSA private key from the base EdDSA private key.

24. The system of claim 23.

25. the DSA private key comprises an ECDSA private key, and the hd-enabling deriving DSA-private keys from the base DSA-private key comprises deriving an ECDSA private key from the base ECDSA private key.

24. The system of claim 23.

26. The public key and the private key split into the plurality of split private keys are calculated based on a threshold decryption process; Calculate multiple DSA key pairs; encrypting each private key of a plurality of DSA key pairs to generate a plurality of encrypted private keys; providing the plurality of encrypted private keys to the plurality of validator devices; selecting one of the plurality of encryption private keys, the signature data value not including the selected private key; providing an index of the selected encryption private key to the plurality of validator devices, the partial open decryption value being calculated using the selected encryption private key and a signature data value that does not include the selected private key; The system of claim 10 further comprising code for:

27. the DSA process comprises EdDSA; Compute multiple EdDSA key pairs; encrypting a private key of each of the plurality of EdDSA key pairs to generate a plurality of encrypted private keys; providing the plurality of encrypted private keys to the plurality of validator devices; selecting one of the plurality of encryption private keys, the signature data value not including the selected private key; providing an index of the selected encryption private key to the plurality of validator devices, the partial open decryption value being calculated using the selected encryption private key and a signature data value that does not include the selected private key; The system of claim 10 further comprising code for:

28. the DSA process comprises ECDSA; Compute multiple ECDSA key pairs; encrypting each private key of the plurality of ECDSA key pairs to generate a plurality of encrypted private keys; providing the plurality of encrypted private keys to the plurality of validator devices; selecting one of the plurality of encryption private keys, the signature data value not including the selected private key; providing an index of the selected encryption private key to the plurality of validator devices, the partial open decryption value being calculated using the selected encryption private key and a signature data value that does not include the selected private key; The system of claim 10 further comprising code for:

29. Splitting multiple private encryption keys; Selecting one of the plurality of divided encryption private keys; Splitting the multiple signature data values; selecting one of the divided signature data values; providing the selected split encryption keys and the selected split signature data values ​​to a plurality of validator devices using a secret sharing process that satisfies a property of level 1 homomorphic secret sharing by allowing for multiplication operations on encrypted values; 30. The system of claim 28, further comprising:

30. The level-1 homomorphic secret sharing comprises level-1 homomorphic sum secret sharing.

30. The system of claim 29.

31. the beacon device computes and transmits multiple instances of the signature data value without being triggered by the message; The system of claim 9.

32. the beacon device is connected to the network unidirectionally such that traffic is transmitted from the beacon to the network, but not from the network to the beacon; The system of claim 9.

33. The beacon device is implemented as a cold offline wallet connected to a hot wallet implemented as the requester device. The system of claim 9.

34. the message includes a cryptocurrency transaction for storage as a record in a blockchain; The system of claim 9.

35. The beacon repeatedly calculates and transmits the signature value. The system of claim 9.

36. After an initialization process, the beacon device calculates and transmits a defined number of instances of different public keys, corresponding private keys, and signature data values, and the multiple validator devices sign up for the predefined number of messages. The system of claim 10.

Citation Information

Patent Citations

  • MULTI-STEP DIGITAL SIGNATURE METHOD AND SYSTEM THEREOF

    JP1999506222A

  • Distributed digital signature generation

    US20060136727A1

  • Procedure for a multiple digital signature

    US20140164765A1

  • Server systems for distributed cryptographic protocols

    US20170126412A1

  • Signing methods for delivering partial signatures, and / or threshold signatures, corresponding verification methods, and corresponding electronic devices

    WO2015118160A1

Cited By

  • Low-Area Modulo Add / Subtractor Implementation for ECDSA

    KR1020260125195A