Skip to content

aleksbelic/kryptonite-core

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

TypeScript Crypto Library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published