|
// TODO: 1. start check 2. legal check 3. error correction (e.g. Hamming Code) |
|
export function writeLSB(imgBitmapData: Array<number>, secretInfo: string): Array<number> { |
|
function unSetBit(k: number) { |
|
return k % 2 == 1 ? (Math.max(k - 1, 0)) : k; |
|
} |
|
function setBit(k: number) { |
This issue was generated by todo based on a TODO
comment in c95fcc2 when #1 was merged. cc @antvis.