fn open(m: []u8, c: []const u8, keypair: KeyPair) IdentityElementError || WeakPublicKeyError || AuthenticationError!void

Decrypt a message using a key pair. m must be exactly seal_length bytes smaller than c, as c also includes metadata.

Parameters

m: []u8,
c: []const u8,
keypair: KeyPair,