@naturalcycles/nodejs-lib
Version:
Standard library for Node.js
12 lines (11 loc) • 387 B
TypeScript
export interface EncryptCLIOptions {
pattern: string[];
encKey: string;
algorithm?: string;
del?: boolean;
}
/**
* Encrypts all files in given directory (except *.enc), saves encrypted versions as filename.ext.enc.
* Using provided encKey.
*/
export declare function secretsEncrypt(pattern: string[], encKey: string, algorithm?: string, del?: boolean): Promise<void>;