0.0.6 • Published 4 years ago

sbtaes v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

sbtaes

image npm.io npm.io

AES encryption and decryption command line tool

ARGS

encrypt

$ sbtaes -k a -e a
encrypt result: 
24OtX7FRWGVFvCd1trX90g==

decrypt

$ sbtaes -k a -d 24OtX7FRWGVFvCd1trX90g==
decrypt result: 
a

help

$ sbtaes -h
Usage: cli [options]

Options:
  <no args>                      Enter REPL mode
  -k, --key <key>                Set the current AES key
  -e, --encrypt <pwd>            AES encrypts current password
  -d, --decrypt <encrypted_pwd>  AES decrypts current password
  -h, --help                     output usage information

REPL

$ sbtaes
please input aes password: * # a
# encrypt
> en a
encrypt result: 
24OtX7FRWGVFvCd1trX90g==
# decrypt
> de 24OtX7FRWGVFvCd1trX90g==
decrypt result: 
a
# help
> help
help                    Show all operational commands
show password           Show current AES password
change password         Modify the current AES password
en [content]            AES encrypts current content
de [content]            AES decrypts the current content
clear                   Clear console content
quit or exit            Exit the app
# show password
> show password
a
0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago