@uniiem/zws
v0.1.0
Published
Zero Width Steganography implementation in TypeScript
Downloads
20
Maintainers
Readme
@uniiem/zws
A simple library for zero-width steganography.
Installation
npm install @uniiem/zws
Usage
import {
encodeText,
decodeText,
encodeBinary,
decodeBinary,
setCharSet
} from '@uniiem/zws';
API
declare const setCharSet: (newChars: ZWSCharSet) => void;
declare const encodeText: (text1: string, text2: string) => string;
declare const encodeBinary: (text: string, data: Uint8Array) => string;
declare const decodeText: (text: string) => ZWSDecoded<string>;
declare const decodeBinary: (text: string) => ZWSDecoded<Uint8Array>;
declare const ZW_CHARACTERS: readonly ZWSCharacter[];
Sponsor
Buy me a coffee~