Skip to main content

[Dont Steal My Code : Console & web code encrypter & decrypter]

Project description

dsmc python module

dsmc (DontStealMyCode) is a python-based complete "framework" to encrypt and decrypt code or whatever file you want. Please the global repository for further details.

Installation

pip install dsmc

or

clone the repository via git git clone https://github.com/Atepir/DontStealMyCode-DSMC-console-web-code-encrypter/dontstealmycode

I. Tests run

1. dsmc as a python file

a. Encrypting and decrypting the Haskell example

Encrypting

python __init__.py -e 1 -c "tests/Haskell/example.hs" --f1 "factor1" --f2 "factor2" -o "../tests/Haskell/example_encrypted.hs"

Decrypting

python __init__.py -d 1 -c "tests/Haskell/example_encrypted.hs" --f1 "factor1" --f2 "factor2" -o "../tests/Haskell/example_decrypted.hs"
b. Encrypting and decrypting general model

Encrypting

python __init__.py -e 1 -c "path/to/the/file/to/encrypt" --f1 "<password-first-factor>" --f2 "<password-second-factor>" -o "path/then/name/to/the/output/encrypted/file"

Decrypting

python __init__.py -d 1 -c "path/then/name/to/the/output/encrypted/file/to/decrypt" --f1 "<password-first-factor>" --f2 "<password-second-factor>" -o "path/then/name/to/the/output/decrypted/file"
c. For further details on the command line use of dsmc.py, please type
python dsmc.py --help

or

python dsmc.py -h

2. dsmc as a python module

Please, see the example of use of dsmc as python module in the tests/ folder


@author: Nongma Sorgho

@date: 06.28.2020

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

dsmc-0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsmc-0.0.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file dsmc-0.0.3.tar.gz.

File metadata

  • Download URL: dsmc-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for dsmc-0.0.3.tar.gz
Algorithm Hash digest
SHA256 150fe18fc013aaa3a0c3d6988f20821f81071f6550dd9585ec39145b5924c328
MD5 65b0ab8f8b14ee707a5d73a17edabdb8
BLAKE2b-256 fd8d8f26758a283f9be64bba463884a77004ce2145612855f8817d2fe9266591

See more details on using hashes here.

File details

Details for the file dsmc-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dsmc-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for dsmc-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7efddaa119fae4f44f1c7ad1339196381b4a0c700d95421bd8cc8f74ec4d16
MD5 4b6b0ef1259cd6e4e25e86f648b041c6
BLAKE2b-256 63d773971a0974267f048dc908857a6e2cc8b9f2b68305245bcd10303073f089

See more details on using hashes here.

Supported by

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