Interface Falcon1024SigningKey

A Falcon-1024 public key paired with a function that signs raw bytes with the corresponding secret key.

Remarks

falcon1024Signer receives the exact bytes to sign, with every domain-separation prefix already applied, so it can be backed by a key that never leaves a wallet, HSM or hardware device.

interface Falcon1024SigningKey {
    falcon1024PublicKey: Uint8Array;
    falcon1024Signer: ((bytesToSign) => Promise<Uint8Array>);
}

Properties

falcon1024PublicKey: Uint8Array

The Falcon-1024 public key.

falcon1024Signer: ((bytesToSign) => Promise<Uint8Array>)

Signs the given bytes verbatim with the corresponding secret key.

Type declaration

    • (bytesToSign): Promise<Uint8Array>
    • Signs the given bytes verbatim with the corresponding secret key.

      Parameters

      • bytesToSign: Uint8Array

      Returns Promise<Uint8Array>

Generated using TypeDoc