@blueprintlabio/prompt-injector
Version:
Experimental TypeScript library for generating AI security test conversations
24 lines • 703 B
TypeScript
/**
* Encoding utilities that work in both Node.js and browser environments
*/
/**
* Encode string to base64
* Works in both Node.js and browser environments
*/
export declare function encodeBase64(text: string): string;
/**
* Encode string to hexadecimal
* Works in both Node.js and browser environments
*/
export declare function encodeHex(text: string): string;
/**
* Decode base64 string
* Works in both Node.js and browser environments
*/
export declare function decodeBase64(encoded: string): string;
/**
* Decode hexadecimal string
* Works in both Node.js and browser environments
*/
export declare function decodeHex(encoded: string): string;
//# sourceMappingURL=encoding.d.ts.map