The ShieldCipher Python Library provides a command-line interface for encrypting and decrypting text using the ShieldCipher algorithm. The ShieldCipher algorithm is a symmetric encryption algorithm designed to secure text data.
To use the ShieldCipher Python Library from PyPi, you can follow these installation steps:
-
Install the library:
pip install ShieldCipher
To use the ShieldCipher Python Library from GitHub, you can follow these installation steps:
-
Install the library from github:
pip install git+https://github.com/RAH-Code-dev/ShieldCipher.git
The ShieldCipher Python Library offers the following command-line actions:
Encrypts the provided text using the ShieldCipher algorithm.
ShieldCipher encrypt "text" <options>
Options:
-a, --algorithm
: Choose the encryption algorithm.-l, --length
: Choose the encryption key length in bits.
Example:
ShieldCipher encrypt "Hello, World!" -a AES -l 256
Decrypts the provided encrypted text using the ShieldCipher algorithm.
ShieldCipher decrypt "text"
Example:
ShieldCipher decrypt "AES$256$4a3b2c1d$1a2b3c4d"
Displays the version information for the ShieldCipher library.
ShieldCipher --version
Displays help information about using the ShieldCipher library.
ShieldCipher --help
ShieldCipher encrypt "SensitiveData" -a AES -l 128
This command encrypts the text "SensitiveData" using the DES algorithm with a key length of 128 bits.
ShieldCipher decrypt "AES$128$4a3b2c1d$1a2b3c4d"
This command decrypts the provided encrypted text using the specified algorithm, key length, salt, and message.
This ShieldCipher Python Library is licensed under the MIT License. See the LICENSE
file for details.
Note: The ShieldCipher library must be installed before using the command-line interface. Ensure that you have the necessary dependencies and permissions to run the library.