PrivateKey.sign

Sign the given data with the private key

class PrivateKey
ubyte[]
sign
(
const(ubyte)[] data
,
ubyte[] sigbuf
)

Parameters

data const(ubyte)[]

the data to sign

sigbuf ubyte[]

the buffer to store the signature in

Returns a slice of the signature or null

Meta