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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ashar-1.1.8.tar.gz.

File metadata

  • Download URL: ashar-1.1.8.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for ashar-1.1.8.tar.gz
Algorithm Hash digest
SHA256 0f2925d4659a612721e513b74dc792740db9e9b3b30d91d9d7c298062760df94
MD5 280d624bf073506b9875f296b8aa7185
BLAKE2b-256 4d524dfd5ff6a9637a6d5590920537389fcf56710a0b27a49ac53c98532f2b19

See more details on using hashes here.

File details

Details for the file ashar-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: ashar-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for ashar-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 662eeb17877287deb995187706a005f20d910d151b2d2b1e1ddf0aec2088839c
MD5 e6d0d8090964091c6b39ac553aff7034
BLAKE2b-256 33bacbb8229f732008c71040f957ce3a8692b78a145bcb75c7435d439ec9c3e8

See more details on using hashes here.

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