A Signer is used to incrementally compute a signature. It can be obtained from a KeyPair, using the signer() function.

Fields

h: Hash,
secret_key: SecretKey,
noise: ?[noise_length]u8,

Functions

fn finalize(self: *Signer) IdentityElementError || NonCanonicalError!Signature

Compute a signature over the entire message.

fn update(self: *Signer, data: []const u8) void

Add new data to the message being signed.