TypeScript implementation of the cryptography assignment that runs on Deno.
DISCLAIMER: This is for educational purposes only. This is not a secure encryption algorithm. Please do not use for anything sensitive.
To encrypt a file:
deno run --allow-read --allow-write src/crypto.ts encrypt <KEY> <INPUT FILE> <OUTPUT FILE>
To decrypt a file:
deno run --allow-read --allow-write src/crypto.ts decrypt <KEY> <INPUT FILE> <OUTPUT FILE>
Run all tests:
deno test --allow-env --allow-write --allow-net src