Skip to content

About

Collection of classical ciphers implemented in TypeScript.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Kryptonite-Core

testing workflow GitHub license

TypeScript Crypto Lib.

Progress

Cipher Description Implemented
Atbash monoalphabetic substitution ✅
Bacon's (v1, v2) substitution & steganography ✅
Caesar monoalphabetic substitution ✅
M-94 (CSP-488 for Navy)
Morse code monoalphabetic substitution ✅
Polybius square
Porta polyalphabetic substitution
Rail Fence
ROT5 monoalphabetic substitution ✅
ROT13 monoalphabetic substitution ✅
ROT18 monoalphabetic substitution ✅
ROT47 monoalphabetic substitution
Scytale transposition ✅
Vigenère polyalphabetic substitution ✅

Development

To start TypeScript compilation in watch mode:

$ tsc --watch

Code formatting is done by Prettier. Simply format project files by following predefined rules in .prettierrc.json:

$ npm run pretty

which is an alias for:

$ npx prettier --write .

To exclude files from formatting, please refer to .prettierignore (corresponds to .gitignore).

Identifying problematic patterns is covered by static code analysis tool ESLint:

$ npm run lint

which is an alias for:

$ npx eslint .

Linting config can be found in .eslintrc.json.

About

Collection of classical ciphers implemented in TypeScript.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages