- add(data, key, encoding): string
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
-
key: number | number[]
-
encoding: string
Returns string
- add(data, key): Uint8Array
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
-
key: number | number[]
Returns Uint8Array
Adds the given key(s) to each byte of the given data.