Skip to main content

This is a Python Module For Encryption, Hashing And Other stuff

Project description

EnroCrypt

This is a Python Module For Encryption, Hashing And Other Basic Stuff You Need, With Secure Encryption And Strong Salted Hashing You Can Do Whatever You Want To
Downloads

Docs

Installation

EnroCrypt Is Avaliable On PyPi You Can Install It As Follows:
pip install -U enrocrypt

Manual Installation

If For Some Reason You Can't Install EnroCrypt From PyPi You Can Download It Manually Too:

  • Clone This Repo
  • Cut-Paste This Repo In Your Python Scripts Path
  • Enter In The Folder Where You See "setup.py" file
  • shift+right click in the Folder And Click On "Open Powershell window Here"
  • Type python setup.py install
    After Following All The Steps Mentioned Above (If You Don't Get An Error) EnroCrypt Is Installed, Now You Can Import It Right Away

Features

  • Strong Encryption
  • Strong Salted Hashing
  • File Encryption-Decryption
  • Some Basic Functions

Usage

    # For Encryption
    from enrocrypt import core
    obj = core.Core()
    value = obj.Encrypt(b'text')
    print(value)
    # For Decryption
    original_value = obj.DecryptList(value)
    print(original_value)

There Is Also a DecryptFunction, But In This Function You Have To Enter The Key And The Data Seperatly

Adding Configurations

Enrocrypt Has The Ablity To Adopt Custom Configurations, Namely:- Custom Salt
We Provide A Function In Which You Can Pass All The Configurations But It Also Has A Syntax And Must Be Used "As is"

from enrocrypt import core
config = {
    'configs':{
        'salt_file':"The Path Of The File Where Your Salt Is Stored"
        }
    }
    # You need a Core Class Object to access that function
    obj = core.Core()
    obj.set_config(config)

Getting A Hashing Class Object

We Suggest Not To Use The Hashing Class By Importing It Directly As If You Do So You Can't Add Your Custom Salt
To Add Custom Salt Follow The Adding Configuration. After You Did That You Have To Get A Hasing Class Object By A Core Class Function

from enrocrypt import core
obj = core.Core()
hasing_obj = obj.get_hash_object()

(See Discussion For More Info)

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

enrocrypt-1.1.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

enrocrypt-1.1.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file enrocrypt-1.1.4.tar.gz.

File metadata

  • Download URL: enrocrypt-1.1.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for enrocrypt-1.1.4.tar.gz
Algorithm Hash digest
SHA256 8d78ea9e3bfd6404a02aad01646317945bfee80f5a8279c10206431fecc94f82
MD5 f33676433c50442df3a665f67a7a3777
BLAKE2b-256 9ddbb394fbf7d488d611ee5fd45f84ecc2c21333980df05a9130eb86dfedc9ca

See more details on using hashes here.

File details

Details for the file enrocrypt-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: enrocrypt-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for enrocrypt-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7e92997fb5b0cac432b4a818276eedad3fd1a2543e8f05b0142be405a18b6851
MD5 a74054a768d7132d6c3643cd32e6b650
BLAKE2b-256 503dd8c9d6ee70943ed2dd23cfef100e310927d95e70faaab24b44cb67ec172d

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