Instance Method
sign(_:)
Creates a signature from the supplied plaintext.
func sign(_ plaintext: some DataProtocol) throws -> [UInt8]
Parameters
plaintextPlaintext data to sign.
Return Value
Signature unique to the supplied data.
Discussion
let sig = try alg.sign("hello")