Skip to content

Basic shell script that encrypts/ decrypts batch files

License

Notifications You must be signed in to change notification settings

brown-a2/cryptobear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

cryptobear

Shell script that batch encrypts/ decrypts files
AES 256 CBC encryption

Requirements:

Mac OS
Openssl installed on your machine
zip installed
Knowledge with command line

Instructions

1.) Make folder and put cryptobear.sh in it.
2.) CD into that folder and create two more folders. ie mkdir encrypt mkdir decrypt.
3.) Open cryptobear.sh in a text editor or file editing tool. ie vim cryptobear.sh
4.) Run chmod +x cryptobear.sh to make sure shell is executable

Populate variables

5.) hash="your password" choose a secure password and put it in.
6.) basedir= put in the path to the folder you've created. ie pwd
7.) encrypted_file_dir= provide path to the folder you are using to decrypt files.
8.) decrypted_file_dir= provide path to the folder you are using to encrypt files.

Run script

9.) Copy files you want to encrypt/decrypt into the respective folders
10.) Run script by typing ./cryptobear.sh

About

Basic shell script that encrypts/ decrypts batch files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages