Skip to main content

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

Project description

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ashar-1.1.8.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

ashar-1.1.8-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page