go-encrypt-decrypt-files

command module
v0.0.0-...-5fd0218 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2018 License: MIT Imports: 12 Imported by: 0

README

go-encrypt-files

A tool that use Advance Encryption Algorithm to encrypt and decrypt files.

           _________________________________________                                                 
          | _______________________________________ |    
          ||                                       ||    
          || # cat banner_start.txt                ||    
          ||                                       ||
          ||                                       ||    
          ||  MIRROR - ENCRYPTION/DECRYPTION TOOL  ||    
   @      ||         Created by Hamza Anis         ||   @          
  / \     ||                                       ||  / \         
-/---\---/||                                       ||-/---\---/    
/     \ / ||        ___________                    ||/     \ /     
       @  ||       |           |                   ||       @      
          ||       | S T A R T |    (*)   ( )      ||    
          ||       |___________|                   ||    
          ||                                       ||    
          ||                                       ||    
          ||_______________________________________||    
          |____________________________________[_]__|

Repo Overview

│   .gitignore              This file includes the gitignore for the golang program
│   ecrypt-decrypt-file.go  This is the source code for the program
│   LICENSE                 License of the program
│   README.md               Project readme
└───
Usage
$ encrypt_decrypt_file --help

  -df string
        folder path to store decrypted files (default "decrypt")
  -ef string
        folder path to store encrypted files (default "encrypt")
  -key string
        key to encrypt and decrypt (default "default key 1234")

$ encrypt_decrypt_file --key=[keytouse] --ef=[encrypt folder path] --df=[decrypt path]
Sample run
$ encrypt_decrypt_file --key my16bitaeskey123

The key which is used to encrypt should be same as the key that will be used for decrypt.

Change the AES key argument either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL