Skip to content

JavaScript implementation of the cryptography assignment

Notifications You must be signed in to change notification settings

cszatmary/cryptography.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptography.js

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.

Usage

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>

Testing

Run all tests:

deno test --allow-env --allow-write --allow-net src

About

JavaScript implementation of the cryptography assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published