Skip to content

This Simple Program written entirely from c language can encrypt and decrypt a binary file.

License

Notifications You must be signed in to change notification settings

SahanHeshan/Encrypting-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encrypting-Program

This Simple Program written entirely from c language can encrypt and decrypt a binary file (txt jpg png pdf etc.).

Inputs

  1. Mode : E for encrypting / D for decrypting.
  2. File Name : Source file you want to encrypt/decrypt.
  3. Output Name : A name for the processed file.
  4. Rerun : To re-run the program.

Outputs

  1. Encrypted/Decrypted File

Requirments:

  1. A valid binary file to Encrypt (.txt, .jpg, .pdf, .png, .c, etc..)
  2. Every Input/Output file MUST be inside " Vault/ "
  3. Use "File_Name.extention" format when giving names. [Sometimes program still runs without .extension]
  4. Undifined inputs will lead to errors.

Handled Error behavior:

  1. Wrong mode
  2. Input file doesn't exist.
  3. Output file name already exist.
    • user can overwrite it / give a new name
  4. wrong input for re-run.

Other Notes:

  • "Vault/" already has some sample files. You can use your own files.
  • Encrypted file's extension doesn't has to be same as the Original file.
  • But decrypted file need same extension as the Orginal file to work properly.

About

This Simple Program written entirely from c language can encrypt and decrypt a binary file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages