Skip to content

yasserbdj96/ashar

Repository files navigation

Ashar

ashar - free & open source project for text encryption with password protection.

Test on Ubuntu latest Test on Windows latest Test on MacOS latest pypi-setup Upload to PYPI Mirror and run GitLab CI Deploy static content to Pages CodeQL CodeFactor Supported Versions Visitors Open Source Stars Forks Watching GitHub contributors GitHub closed issues GitHub pull requests GitHub release (latest by date) GitHub commit activity GitHub license Join the chat at https://gitter.im/yasserbdj96/ashar


Python Package Installation:

# 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

Run without installation:

# 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".

Script Usage:

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.

Script Examples:

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)

Changelog History:

Click to See changelog History

Development By:

Developer / Author: yasserbdj96


License:

The content of this repository is bound by the following LICENSE.


Support:

If you like `ashar` and want to see it improve furthur or want me to create intresting projects , You can buy me a coffee

ashar by yasserbdj96
BTC: bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9



website . github . gitlab . linkedin . twitter . instagram . facebook . youtube . pypi . docker . telegram . gitter . e-mail . sponsor