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
inputbyte[]inputOffsetintinputLengthintoutputbyte[]outputOffsetintnoncebyte[]secretbyte[]
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
inputbyte[]inputOffsetintinputLengthintoutputbyte[]outputOffsetintnoncebyte[]secretbyte[]