BoxKeyPair

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(ubyte[32] pkey, ubyte[32] skey)
Undocumented in source.

Members

Functions

decrypt
ubyte[] decrypt(EncryptedBoxMessage msg, BoxKeyPair other)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt
EncryptedBoxMessage encrypt(ubyte[] data, BoxKeyPair other)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt
EncryptedBoxMessage encrypt(string data, BoxKeyPair other)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt
EncryptedBoxMessage encrypt(ubyte[] data, ubyte[24] nonce, BoxKeyPair other)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

public_key
ubyte[32] public_key;
Undocumented in source.
secret_key
ubyte[32] secret_key;
Undocumented in source.

Meta