BoxKeyPair.encrypt

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

Meta