Simple encryption and decryption program inplemented in Golang.
N.B.: To use all the command, you must have installed the Golang environment.
You can run the program directly with :
go run <filename>.go
You can run the followig command for build one specific binary :
go build <filename>.go
Or you can also run this command to build all binaries in one time :
make build
N.B.: make
application must be installed in your machine
You can use all the program from 2 ways :
- you can just open the binary file which open an interactive program;
- you can just pass the arguments to the command when you call it.
For the encryptmessage.go
file, you must run :
encryptmessage.exe <msg:string> <key:string>
For the decryptmessage.go
file, you must run :
decryptmessage.exe <encrypted_byte_data:byte_array> <key:string>
For the encryptmessagetofile.go
file, you must run :
encryptmessagetofile.exe <filename:string> <msg:string> <key:string>
For the decryptmessagefromfile.go
file, you must run :
decryptmessagefromfile.exe <filename:string> <key:string>