Function KeyPair.sign

Signs a message with this keypair's private key

Signature sign(T) (
  in T msg
) const nothrow @nogc;

Parameters

NameDescription
msg The message to sign

Returns

The signature of msg using this