@easy-cipher/caesar
Version:
[](https://www.npmjs.com/package/@easy-cipher/caesar) [](https://bundlephobia.com/result?p=@easy-ci
11 lines (10 loc) • 481 B
TypeScript
import type { CoreOptions } from '@easy-cipher/core';
declare type CaesarOptions = {
encryptionOffset: number;
alphabet?: string[];
} & Omit<CoreOptions, 'mappings'>;
declare const caesar: ({ encryptionOffset, alphabet, ciphertextWordsSeparator, ciphertextCharactersSeparator, plaintextWordsSeparator, plaintextCharactersSeparator, }: CaesarOptions) => {
encode: import("@easy-cipher/core").Encode;
decode: import("@easy-cipher/core").Decode;
};
export { caesar };