Skip to content

sign

In std/crypto.

fn sign<A : Signing>(self: Bytes, key: PrivateKey<A>) : Bytes

The signature of the octets of self by key.

fn sign<A : Signing>(self: String, key: PrivateKey<A>) : Bytes

The signature of the UTF-8 octets of self.