Class SecretBox
public static class SecretBox
- Inheritance
-
SecretBox
- Inherited Members
Methods
Decrypt(byte[], int, int, byte[], int, byte[], byte[])
public static int Decrypt(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, byte[] nonce, byte[] secret)
Parameters
input
byte[]inputOffset
intinputLength
intoutput
byte[]outputOffset
intnonce
byte[]secret
byte[]
Returns
Encrypt(byte[], int, int, byte[], int, byte[], byte[])
public static int Encrypt(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, byte[] nonce, byte[] secret)
Parameters
input
byte[]inputOffset
intinputLength
intoutput
byte[]outputOffset
intnonce
byte[]secret
byte[]