- setOutputFormat
void setOutputFormat(SignatureFormat format)
Set the output format of the signature.
- signMessage
Vector!ubyte signMessage(const(ubyte)* msg, size_t length, RandomNumberGenerator rng)
- signMessage
Vector!ubyte signMessage(Vector!(ubyte, ALLOC) input, RandomNumberGenerator rng)
- signMessage
Vector!ubyte signMessage(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.
- signature
Vector!ubyte signature(RandomNumberGenerator rng)
Get the signature of the so far processed message (provided by the
calls to update()).
- update
void update(ubyte input)
Add a message part (single ubyte).
- update
void update(const(ubyte)* input, size_t length)
- update
void update(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input)
- update
void update(Vector!(ubyte, ALLOC) input)
Undocumented in source. Be warned that the author may not have intended to support it.
Public Key Signer. Use the signMessage() functions for small messages. Use multiple calls update() to process large messages and generate the signature by finally calling signature().