PKSigner.signMessage

Sign a message.

  1. Vector!ubyte signMessage(const(ubyte)* msg, size_t length, RandomNumberGenerator rng)
    struct PKSigner
    Vector!ubyte
    signMessage
    (
    const(ubyte)* msg
    ,
    size_t length
    ,)
  2. Vector!ubyte signMessage(Vector!(ubyte, ALLOC) input, RandomNumberGenerator rng)
  3. Vector!ubyte signMessage(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input, RandomNumberGenerator rng)

Parameters

msg const(ubyte)*

the message to sign as a ubyte array

length size_t

the length of the above ubyte array

rng RandomNumberGenerator

the rng to use

Return Value

Type: Vector!ubyte

signature

Meta