Skip to content

crypto is a command line tool that encrypt / decrypt text

Notifications You must be signed in to change notification settings

hidevopsio/crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto

crypto is a command line tool that encrypt / decrypt text

Installation

Type below command to install crypto

go get -u crypto
go install crypto

How to use

Usage:
  crypto [flags]

Examples:

crypto rsa -h
crypto rsa -e -s "text to encrypt"
crypto rsa -d -s "text to decrypt"


Flags:
  -d, --decrypt         run with option --decrypt or -d for text encryption
  -e, --encrypt         run with option --encrypt or -e for text encryption
  -h, --help            help for crypto
  -k, --key string      run with option --key or -k for rsa key
  -s, --source string   run with option --source=source text to encrypt or encrypt

Encrypt text

crypto rsa -e -s hello

HZ62JK0istPirbTe4M14foFdE88hvB1oH5HruOEVwwAGU7tT2fy39grAnFriZFJVgM0yAgoqgppW3d40IuUBZMFajzIPzyhM9s2vOWNmvTYFkXF0vYfQporA/FGVttOfD27Tji3XAnoc1nlOAPjRLnF1vGbSLDUWkg3/LsCcwGY=

Decrypt text

crypto rsa -d -s HZ62JK0istPirbTe4M14foFdE88hvB1oH5HruOEVwwAGU7tT2fy39grAnFriZFJVgM0yAgoqgppW3d40IuUBZMFajzIPzyhM9s2vOWNmvTYFkXF0vYfQporA/FGVttOfD27Tji3XAnoc1nlOAPjRLnF1vGbSLDUWkg3/LsCcwGY=

hello

About

crypto is a command line tool that encrypt / decrypt text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published