# install from pypi:
❯ pip install ashar
# local install:
❯ git clone https://github.com/yasserbdj96/ashar.git
❯ cd ashar
❯ sudo python setup.py install
# uninstall:
❯ pip uninstall ashar
# Dwonload:
❯ git clone https://github.com/yasserbdj96/ashar.git
❯ cd ashar
# default run on any os:
❯ python3 run.py <CONDITION*> <PASSWORD*> <TEXT*>
# Run with Makefile:
❯ make run con="<CONDITION*>" pass="<PASSWORD*>" text="<TEXT*>"
# * = All inputs must be entered.
# PASSWORD = The password used for encrypt your text.
# TEXT = The text to be encrypted.
# CONDITION = The nature of the process is encryption or decryption "encode/decode".
from ashar import ashar
#For encryption
p1=ashar("<PASSWORD*>","<TEXT*>").encode()
# p1=ashar("<PASSWORD*>","<TEXT*>",chars='abcdefghijklmnopqrstuvwxyz',upchars='ABCDEFGHIJKLMNOPQRSTUVWXYZ',smbls=')(}{][><!?$%&-_=+;',numb='1234567890').encode()
print(p1)
#To decrypt
p2=ashar("<PASSWORD*>","<ENCRYPTED_TEXT*>").decode()
print(p2)
# * = All inputs must be entered.
from ashar import ashar
# Example:1
#For encryption
p1=ashar("123","Example:1").encode()
print(p1)
#To decrypt
p2=ashar("123",p1).decode()
print(p2)
Click to See changelog History
Developer / Author: yasserbdj96
The content of this repository is bound by the following LICENSE.
If you like `ashar` and want to see it improve furthur or want me to create intresting projects , You can buy me a coffee
website . github . gitlab . linkedin . twitter . instagram . facebook . youtube . pypi . docker . telegram . gitter . e-mail . sponsor