Applies or removes a WebSocket masking key. XOR is symmetric, so masking and unmasking use the same operation.
The data to mask/unmask.
The 4-byte masking key.
The masked/unmasked data.
Applies or removes a WebSocket masking key. XOR is symmetric, so masking and unmasking use the same operation.