- and(data, key, encoding): string
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
-
key: number | number[]
-
encoding: string
Returns string
- and(data, key): Uint8Array
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
-
key: number | number[]
Returns Uint8Array
Performs a bitwise AND operation on each byte of the given data using the given key(s).