Files
CipherStreamWeb/src/models/PolySubstitutionProps.ts

77 lines
1.5 KiB
TypeScript

export interface BifidProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
keyword: string;
inputString: string;
outputString?: string;
}
export interface ColumnarProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
keyword: string;
inputString: string;
outputString?: string;
}
export interface HillProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
key: number[][];
inputString: string;
outputString?: string;
}
export interface MorseProps {
encoding: boolean;
inputString: string;
outputString?: string;
}
export interface PlayfairProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
keyword: string;
inputString: string;
outputString?: string;
}
export interface PolybiusProps {
encoding: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
keyword: string;
inputString: string;
outputString?: string;
}
export interface RailFenceProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
rails: number;
inputString: string;
outputString?: string;
}
export interface TrifidProps {
encoding: boolean;
preserveCapitals: boolean;
preserveWhitespace: boolean;
preserveSymbols: boolean;
keyword: string;
fill: string;
groupLength: number;
inputString: string;
outputString?: string;
}