Skip to content

Python-based tool used to encrypt/decrypt via the command-line or API using symmetric and asymmetric cryptography.

License

Notifications You must be signed in to change notification settings

azweb76/x-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X-Crypto

Python-based tool used to encrypt/decrypt via the command-line or API using symmetric and asymmetric cryptography.

Install

pip install git+https://github.com/azweb76/x-crypto [--upgrade]

Usage (encrypt)

To encrypt text.

# xcrypto encrypt [text | -]

xcrypto encrypt "my text"
# returns pFU2+m740G1pXzlZacgPPQ==

# from stdin
echo "this is a test" | xcrypto encrypt -
# returns pFU2+m740G1pXzlZacgPPQ==

Usage (decrypt)

To decrypt text.

# xcrypto decrypt [encrypted_text | -]

xcrypto decrypt "pFU2+m740G1pXzlZacgPPQ=="
# returns "my text" 

# from stdin
echo "pFU2+m740G1pXzlZacgPPQ==" | xcrypto encrypt -
# returns "my text"

About

Python-based tool used to encrypt/decrypt via the command-line or API using symmetric and asymmetric cryptography.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages