Class SecretBox
public static class SecretBox
- Inheritance
-
SecretBox
- Inherited Members
Methods
Decrypt(byte[], int, int, byte[], int, byte[], int, byte[], byte[])
public static int Decrypt(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, byte[] header, int headerSize, byte[] nonce, byte[] key)
Parameters
inputbyte[]inputOffsetintinputLengthintoutputbyte[]outputOffsetintheaderbyte[]headerSizeintnoncebyte[]keybyte[]
Returns
Encrypt(byte[], int, int, byte[], int, byte[], byte[], byte[])
public static int Encrypt(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, byte[] header, byte[] nonce, byte[] key)
Parameters
inputbyte[]inputOffsetintinputLengthintoutputbyte[]outputOffsetintheaderbyte[]noncebyte[]keybyte[]