@codingtools/cdt
Version:
CLI for Developers
25 lines (24 loc) • 820 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class Crypto extends Command {
static ENCRYPTION: string;
static DECRYPTION: string;
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
encryption: flags.IOptionFlag<string | undefined>;
decryption: flags.IOptionFlag<string | undefined>;
string: flags.IOptionFlag<string | undefined>;
file: flags.IOptionFlag<string | undefined>;
key: flags.IOptionFlag<string | undefined>;
mode: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
run(): Promise<string>;
private Encrypt;
private Decrypt;
private getCryptoType;
private checkParameters;
private getCryptoMode;
}