One-Time Signature - Algorand Specifications
Keyboard shortcuts
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
- Auto
- Light
- Dark
Algorand Specifications
OneTimeSignatureSubkeyBatchID identifies an intermediate level ephemeral sub-key of a batch and is signed by the voting key’s root key. It has the following fields:
Sub-Key Public key (SubKeyPK), the public key of this sub-key.
Batch (Batch), batch number of this sub-key.
The OneTimeSignatureSubkeyOffsetID identifies a leaf-level ephemeral sub-key and is signed with a batch sub-key. It has the following fields:
Sub-Key Public key (SubKeyPK), the public key of this sub-key.
Batch (Batch), batch number of this sub-key.
Offset (Offset), offset of this sub-key in current batch.
Finally, OneTimeSignature is a cryptographic signature used in voting messages between Algorand players. It contains the following fields:
Signature (Sig), a signature of message under PK.
Public Key (PK), the public key of the message signer, is part of a leaf-level ephemeral sub-key.
Public Key 2 (PK2), the public key of the current batch.
Public Key 1 Signature (PK1Sig), a signature of OneTimeSignatureSubkeyOffsetID under PK2.
Public Key 2 Signature (PK2Sig), a signature of OneTimeSignatureSubkeyBatchID under the voting keys.
The Old Style Signature (PKSigOld) is deprecated, still included in the message only for compatibility reasons.
Important
IMPLEMENTATION:
One-Time Signature reference implementation.