Git Product home page Git Product logo

enrocrypt's Introduction

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

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)

enrocrypt's People

Contributors

dependabot[bot] avatar metamorphic-spyware avatar pybash1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

enrocrypt's Issues

Current error.py is not friendly or scalable

The current error.py file contains a class which contains several functions for raising an error. This is not a very good practice. Also, you are using the cryptography library to get a error. Instead just create different classes for each exception and create your own exception instead of importing from cryptography for starting this is fine but after that not. To learn more about it refer here And here and here. If you feel like I am being to rude or bossy sorry, I like this library and am just highlighting a few issues which when fixed would make the library great.

Docs

Create And Upload The Docs On readthedocs.io on or before v2.0.0

Make v1.0.1

Must Have File Encryption And Decryption Capabilities

Feature

  • Add More Hashing Algos
  • Password + Key Encryption
  • AES (if possible)
  • More Basic Funcs
  • More Types Of File Encryption

Dependencies

When Anyone Installs EnroCrypt The Dependencies Are Not Getting Installed Because install_requires is not present in setup.py

**- The Issue Is Present On All OS

  • Using Python 3.9.5
  • Module-Version Latest(v1.0.4)**

This Bug Can Be Solved If install_requires is present in setup.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.