Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/guigui14460/cryptography-program

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/guigui14460/cryptography-program

  • v0.0.0-20200704155157-4a7591ac174a
  • Source
  • Go
  • Socket score

Version published
Created
Source

Cryptography program

Simple encryption and decryption program inplemented in Golang.

Table of contents

  1. Simple run
  2. Create an executable program
  3. Usage
  4. Command line arguments mode

N.B.: To use all the command, you must have installed the Golang environment.

Simple run

You can run the program directly with :

go run <filename>.go

Executable binary program

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

Usage

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.

Command line arguments mode

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>

FAQs

Package last updated on 04 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc