# US 2021/0176072 A1 · Blockchain post-quantum signature scheme

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176072 A1
- Document ID: US20210176072A1
- Status: Published application
- Kind: A1
- Application number: 17/156,011
- Filed: 2021-01-22
- Published: 2021-06-10
- Earliest claimed: 2018-04-16
- Assignees: R3 Ltd.
- Applicants: R3 Ltd.
- Inventors: Konstantinos Chalkias
- Web page: https://patentgrep.com/patent/US20210176072A1

## CPC

- H04L 9/3247: {involving digital signatures}
- H04L 9/0852: {Quantum cryptography (transmission systems employing electromagnetic waves other than radio waves, e.g. light, infrared H04B10/00; wavelength-division multiplex systems H04J14/02; WDM arrangements H04J14/03)}
- H04L 9/0863: {involving passwords or one-time passwords (network architectures or network communication protocols for using one-time keys in a packet data network H04L63/067)}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various systems for providing secure signatures based on post-quantum computing are provided. The systems allow may one-time signatures (“OTS”) to be based on the same public key. The systems provide for efficient use of OTS signatures with blockchains. The systems provide for rapid verification of signatures. The systems provide for caching for Winternitz-based OTS schemes and for use of short checksum.

## Claims

### Claim 1

A method performed by a computing system for generating a public key, the method comprising:
generating a plurality of one-time signature (“OTS”) key pairs, each OTS key pair including an OTS private key and an OTS public key;
for each of the OTS key pairs, generating a hash of the OTS public key of that OTS key pair;
generating a hash that is a hash of a seed, the seed being a random number that is not an OTS private key or an OTS public key;
for each OTS key pair in sequence, generating a hash of a hash derived from the OTS public key of that OTS key pair and a previously generated hash; and
designating as the public key a generated hash.

### Claim 2 (depends on 1)

The method of claim 1 wherein the designating designates the last generated hash as the public key.

### Claim 3 (depends on 1)

The method of claim 1 wherein the previously generated hash is the last generated hash.

### Claim 4 (depends on 1)

The method of claim 1 wherein the hashes form a hash tree with the hash of the seed and the hashes derived from the OTS public keys of the OTS key pairs being the values of leaf nodes of the hash tree.

### Claim 5 (depends on 1)

The method of claim 1 wherein the generated hashes are values of root nodes of a chain of hash trees wherein the last hash tree in the chain has as the value of its root node a hash of the hash of the seed and the hash an OTS public key and the first hash tree in the chain has as the value of its root node the last generated hash.

### Claim 6 (depends on 1)

The method of claim 1 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 7 (depends on 1)

The method of claim 1 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 8 (depends on 1)

The method of claim 1 wherein the seed is a hash of a non-OTS public key.

### Claim 9 (depends on 1)

The method of claim 1 wherein the public key is based on a hash of a non-OTS public key.

### Claim 10

A method performed by a computing system for generating a public key, the method comprising:
generating a first one-time signature (“OTS”) key pair that includes a first OTS private key and a first OTS public key;
generating a first fallback OTS key pair that includes a first fallback OTS private key and a first fallback OTS public key; and
generating as the public key a hash of a hash of the first fallback OTS public key and a hash of the first OTS public key wherein the first OTS private key is for signing a first message and the first fallback OTS private key is for signing a hash of a hash of a second fallback OTS public key of second fallback OTS key pair and hash of a second OTS public key of a second OTS key pair.

### Claim 11 (depends on 10)

The method of claim 10 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 12 (depends on 10)

The method of claim 10 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 13 (depends on 10)

The method of claim 10 further comprising generating a first signature of the first message that includes a first OTS signature of the first message and a hash of the first fallback OTS public key.

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16

A method performed by a computing system for generating a public key, the method comprising:
generating multiple OTS key pairs;
generating a fallback OTS key pair; and
generating a hash derived from the multiple OTS key pairs and the fallback OTS key pair wherein the hash is the public key.

### Claim 17 (depends on 16)

The method of claim 16 wherein the generating of the hash further comprises:
generating a first hash derived from a hash of a fallback OTS public key of the fallback OTS key pair and a hash of a first OTS public key of first OTS key pair; and
for each other OTS key pair, generating a next hash derived from an OTS public key of the OTS key pair and the last generated hash.

### Claim 18 (depends on 16)

The method of claim 16 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 19 (depends on 16)

The method of claim 16 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 20

(canceled)

### Claim 21

A method performed by a computing system for generating a signature for content based on a public key, the method comprising:
adding to the signature a one-time signature (“OTS”) signature of the content, the OTS signature generated based on an OTS key pair used to generate the public key; and
adding to the signature metadata to generate the public key based on one or more other OTS key pairs used to generate the public key and a fallback OTS key pair
wherein the metadata includes:
zero or more hashes that are each derived from an OTS key pair used to generate a signature based on the public key; and
a hash derived from an OTS key pair not used to generate a signature based on the public key and the fallback OTS key pair.

### Claim 22 (depends on 21)

The method of claim 21 wherein at least some of the OTS key pairs used to generate a signature were not used to generate the public key.

### Claim at position 23

23-31. (canceled)

### Claim 32

A method performed by a computing system for generating a signature for data, the method comprising:
identifying a nonce such that a target hash of a combination of the data and the nonce has a target characteristic;
signing the target hash with a private key; and
providing the signed target hash as the signature with the nonce as metadata of the signature.

### Claim 33 (depends on 32)

The method of claim 32 wherein a public key corresponding to the private key is a hash of the private key.

### Claim 34 (depends on 32)

The method of claim 32 wherein the signature is based on a one-time signature technique.

### Claim 35 (depends on 34)

The method of claim 34 wherein the target characteristic is a pattern of pattern bits within the target hash with each pattern bit having a pattern value.

### Claim 36 (depends on 35)

The method of claim 35 wherein the signing of the target hash is based on bits that are not pattern bits.

### Claim 37 (depends on 35)

The method of claim 35 wherein the target hash has pattern bits and non-pattern bits, the private key is a one-time signature private key with a private key pair for each non-pattern bit, and for each non-pattern bit, the signature includes one of the private keys of the private key pair for each non-pattern bit.

### Claim 38 (depends on 37)

The method of claim 37 wherein the private key includes a private key pair for only non-pattern bits.

### Claim 39 (depends on 32)

The method of claim 32 wherein the target characteristic is based on number of bits having a value of 1.

### Claim 40 (depends on 39)

The method of claim 39 wherein the signature is based on zero or more hashes of a private key for a bit or group of bits.

### Claim 41 (depends on 32)

The method of claim 32 wherein the target characteristic is a pattern of pattern bits within the target hash with each pattern bit having a pattern value and wherein a private key and corresponding public key do not include values for pattern bits.

### Claim 42 (depends on 32)

The method of claim 32 wherein the target characteristic is a pattern of pattern bits within the target hash with each pattern bit having a pattern value and the signature does not include a value for the pattern bits.

### Claim 43 (depends on 32)

The method of claim 32 wherein the target characteristic is that a target number of bits in sequence of the target hash has a target value.

### Claim 44

A method performed by a computing system for generating a signature based on a chain of hashes, the signature being generated using a private key for each unit of data to be signed, each unit of data comprising multiple bits of the data, the method comprising:
for each of the private keys, generating hash values for one or more multiple hashes of the private key, each hash value representing a number of hashes of the private key, the number corresponding to one of the possible values of a unit; and
after generating the hash values,
receiving an indication of the data; and
for units of the data,
retrieving a hash value for the unit of the data that corresponds to a value that is not greater than the value of the unit; and
performing zero or more hashes of the hash value so that the hash value corresponds to the value of the unit;
wherein the signature includes the hash values that correspond to the values of the units of the data.

### Claim 45 (depends on 44)

The method of claim 44 wherein the signature represents a Winternitz-based one-time signature.

### Claim 46 (depends on 44)

The method of claim 44 wherein a hash value is generated for each possible value of bit-value of a unit.

### Claim 47 (depends on 44)

The method of claim 44 wherein a hash value is generated for possible values of a unit that are an interval apart.

### Claim 48 (depends on 44)

The method of claim 44 wherein the generated hash values are stored in a cache for use when signing the data.

### Claim 49 (depends on 44)

The method of claim 44 wherein the hash values are generated prior to the data being accessed.

### Claim 50 (depends on 44)

The method of claim 44 wherein each private key is a random number with a corresponding public key being a number of hashes of the private key that is based on the maximum bit-value of a unit.

### Claim 51 (depends on 44)

The method of claim 44 wherein the data is a hash of target

### Claim at position 44

52-58. (canceled)

### Claim 59

A computer-readable storage medium storing a chain of hash trees, the chain of hash trees comprising:
a last hash tree in the chain that has a first leaf node with a value that is a hash of a seed and a second leaf node with a value that is a hash derived from a one-time signature (“OTS”) public key of an OTS key pair and having a root node with a value that is a hash of the combination of the value of the first leaf node and the second leaf node; and
for each next level in the chain until a first level, a hash tree having a first leaf node with the value of the root node of the previous level in the chain and a second leaf node with a value that is a hash derived from an OTS public key of an OTS key pair and having a root node with a value that is a hash of the combination of the value of the first leaf node and the second leaf node.

### Claim 60 (depends on 59)

The computer-readable storage medium of claim 59 wherein the value of the root node of the first level is a public key.

### Claim 61

A computing system for generating a public key, the computing system comprising:
one or more computer-readable storage mediums storing computer-executable instructions for controlling the computing system to:
access a plurality of one-time signature (“OTS”) key pairs, each OTS key pair including an OTS private key and an OTS public key;
for each of the OTS key pairs, generate a hash of the OTS public key of the OTS key pair;
generate a public key hash that is based on a seed and hashes of the OTS public keys; and
designate the public key hash as the designated public key; and
one or more processors for executing the computer-executable instructions stored in the one or more computer-readable storage mediums.

### Claim 62 (depends on 61)

The computing system of claim 61 wherein the computer-executable instructions that control the computing system further control the computing system to generate the OTS key pairs.

### Claim 63 (depends on 61)

The computing system of claim 61 wherein the computer-executable instructions that control the computing system to generate a public key hash further control the computing system to:
generate a hash of the seed;
for each OTS key pair in sequence, generate a hash of a hash derived from the OTS public key of that OTS key pair and a previously generated hash; and
designate as the public key a generated hash.

### Claim 64 (depends on 61)

The computing system of claim 61 wherein the hashes form a hash tree with the hash of the seed and the hashes derived from the OTS public keys of the OTS key pairs being the values of leaf nodes of the hash tree.

### Claim 65 (depends on 61)

The computing system of claim 61 wherein the generated hashes are values of root nodes of a chain of hash trees wherein the last hash tree in the chain has a hash of the hash of the seed and the hash an OTS public key as the value of its root node and the first hash tree in the chain has the last generated hash as the value of its root node.

### Claim 66 (depends on 61)

The computing system of claim 61 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 67 (depends on 60)

The computing system of claim 60 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 68

A method performed by a computing system for generating a signature for a message, the signature for use in regenerating a public key based on multiple one-time signature (“OTS”) key pairs, the method comprising:
adding to the signature an OTS signature for the message generated using an OTS private key of an OTS key pair; and
adding to the signature metadata that includes:
for each signature previously generated based on the public key, a hash derived from the OTS public key of the OTS key pair used to generate the OTS signature for that signature; and
a value derived from hashes of OTS public keys for OTS key pairs not yet used to generate a signature based on the public key.

### Claim 69 (depends on 68)

The method of claim 68 wherein the OTS signature for the message includes OTS signature metadata derived from an OTS public key of an OTS key pair used to generate the OTS signature.

### Claim 70 (depends on 68)

The method of claim 68 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 71 (depends on 68)

The method of claim 68 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 72

A computer-readable storage medium storing a signature based on a public key derived from multiple one-time signature (“OTS”) key pairs, the signature comprising:
an OTS signature generated using an OTS private key of an OTS key pair; and
metadata that includes:
for each signature previously generated based on the public key, a hash derived from the OTS public key of the OTS key pair used to generate the OTS signature for that signature; and
a value derived from hashes of OTS public keys for OTS key pairs not yet used to generate a signature based on the public key.

### Claim 73 (depends on 72)

The computer-readable storage medium of claim 72 wherein the OTS signature includes OTS signature metadata derived from an OTS public key of an OTS key pair used to generate the OTS signature.

### Claim 74 (depends on 72)

The computer-readable storage medium of claim 72 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 75 (depends on 72)

The computer-readable storage medium of claim 72 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 76

A computing system for generating a signature for data, the signature for use in regenerating a public key based on multiple one-time signature (“OTS”) key pairs, the computing system comprising:
one or more computer-readable storage mediums storing computer-executable instructions for controlling the computing system to:
generate an OTS signature for the data, the OTS signature generated using an OTS private key of an OTS key pair; and
generate metadata that includes used metadata derived from one or more OTS public keys used to generate an OTS signature for one or more signatures previously generated based on the public key and not used metadata derived from one or more OTS public keys for OTS key pairs not yet used to generate a signature based on the public key; and
one or more processors for executing the computer-executable instructions stored in the one or more computer-readable storage mediums.

### Claim 77 (depends on 76)

The computing system of claim 76 wherein the used metadata includes for each signature previously generated based on the public key, a hash derived from the OTS public key of OTS key pair used to generate the OTS signature for that previously generated signature.

### Claim 78 (depends on 76)

The computing system of claim 76 wherein the not used metadata includes a hash derived from the one or more OTS public keys for OTS key pairs not yet used to generate a signature based on the public key.

### Claim 79 (depends on 76)

The computing system of claim 76 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 80 (depends on 76)

The computing system of claim 76 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 81

A method performed by a computing system for regenerating a public key, the public key generated from one-time signature (“OTS”) public keys of multiple OTS key pairs, the method comprising:
accessing a signature having:
an OTS signature generated using an OTS key pair;
for each OTS key previously used to generate a signature if any, a used hash derived from an OTS public key of the OTS key pair; and
a not used hash derived from a seed and hashes of OTS public keys for OTS key pairs if any not yet used to generate a signature based on the public key;
regenerating an OTS public key from the OTS signature;
generating as a value for a new root a hash of a combination of the not used hash of and the regenerated OTS public key; and
for each used hash in reverse order of usage, generating as a value for a new root a hash of a combination of the value of the last root and a hash of the OTS public key of the OTS key pair;
wherein the last generated value for a new root node is the regenerated public key.

### Claim 82 (depends on 81)

The method of claim 81 wherein the OTS signature has a signature generated using an OTS private key of the OTS key pair used to generate the OTS signature and metadata, the metadata being derived from an OTS public key of the OTS key pair used to generate the OTS signature.

### Claim 83 (depends on 81)

The method of claim 81 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 84 (depends on 81)

The method of claim 81 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 85

A computing system for regenerating a public key, the public key generated from one-time signature (“OTS”) public keys of multiple OTS key pairs, the computing system comprising:
one or more computer-readable storage mediums storing computer-executable instructions for controlling the computing system to:
access a signature having an OTS signature and metadata;
regenerate an OTS public key from the OTS signature generated using an OTS key pair; and
generate the public key as a hash based on the regenerated OTS public key, not used metadata of the signature, and used metadata of the signature, the used metadata derived from one or more OTS public keys of OTS key pairs if any used to generate an OTS signature for one or more signatures previously generated based on the public key, the not used metadata derived from one or more OTS public keys for OTS key pairs if any not yet used to generate a signature based on the public key; and
one or more processors for executing the computer-executable instructions stored in the one or more computer-readable storage mediums.

### Claim 86 (depends on 85)

The computing system of claim 85 wherein the used metadata includes a hash of each OTS public key previously used to generate a signature.

### Claim 87 (depends on 85)

The computing system of claim 85 wherein the OTS key pairs are based on a Lamport OTS scheme.

### Claim 88 (depends on 85)

The computing system of claim 85 wherein the OTS key pairs are based on a Winternitz-based OTS scheme.

### Claim 89

A method performed by a computing system for generating a public key, the method comprising:
generating a plurality of one-time signature (“OTS”) key pairs; and
generating a hash derived from the OTS public keys of the OTS key pairs wherein the hash is the public key.

### Claim 90

A method performed by a computing system for generating a signature for content based on a public key, the method comprising:
adding to the signature a one-time signature (“OTS”) signature of the content, the OTS signature generated based on an OTS key pair used to generate the public key; and
adding to the signature metadata to generate the public key based on one or more other OTS key pairs used to generate the public key.

### Claim 91 (depends on 90)

The method of claim 90 wherein the metadata includes:
zero or more hashes that are each derived from an OTS key pair used to generate a signature based on the public key; and
a hash derived from an OTS key pair not used to generate a signature based on the public key.

### Claim 92

A method performed by a computing system for regenerating a public key generated based on multiple one-time signature (“OTS”) key pairs, the method comprising:
regenerating, from a signature and content, an OTS public key of one of the OTS key pairs used to sign the content; and
generating a hash derived from the regenerated OTS public key and metadata of the signature, the metadata being derived from one or more other OTS key pairs used to generate the public key.

### Claim 93 (depends on 92)

The method of claim 92 wherein the metadata includes:
zero or more hashes that are each derived from an OTS key pair used to generate a signature based on the public key; and
a hash derived from an OTS key pair not used to generate a signature based on the public key.
