Skip to content

lowagstaff/encrypt_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Project Title: Encryptor/Decryptor

Project Description: Followed tutorial to create a basic encryptor/decryptor

Project Goals: To understand some rust while having fun making random characters in a .txt file

Instructions for Build and Use

Steps to build and/or run the software:

  1. Make a new cargo file on your computer and copy and paste my main.rs program over to your main.rs file
  2. Make sure to type into the terminal Cargo build to build it
  3. Then type cargo run to get it initialized (im not sure if its necessary but its smart to make sure)

Instructions for using the software:

  1. You will need the hello.txt file in the folder
  2. If you want to read the text file type "cat hello.txt" into the terminal
  3. For encryption: in the terminal type cargo run hello.txt true
  4. For decryption: in terminal type cargo run hello.txt false
  5. You cna re-read the text file in step 2 if you want to see the encryption/decryption working

Development Environment

To recreate the development environment, you need the following software and/or libraries with the specified versions:

  • Using rust, so there needs to be rust all set up;
  • I used the standard rust library as well as io: "use std::{fs, env, io::Write};"
  • I got the rust-analyzer extension as well
  • I also have Crates and Even Better TOML (Im not sure if those are necessary, the setup tutorials said I needed them but not sure why)

Useful Websites to Learn More

I found these websites useful in developing this software:

Future Work

The following items I plan to fix, improve, and/or add to this project in the future:

  • Make it more personalized with user input to see if they want to encrypt/decrypt
  • Make the byte-shifting more random so it is a little more efficient as an encryptor
  • Make actual encryption/decryption software not just a byte-shifter

About

Followed a Rust encryption/decryption tutorial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages