This release is a pre-release and may not be stable for production use.
A collection of **cryptographic algorithms** like Reverse Cipher , Caeser Cipher and many more to be used in encryption srcipts.It is easy to use and can be implement in any scripts with little or no knowledge of Cryptography.
**It is still in devolopment**
# Algoritms include:
Till now I am able include only a handfull of cryptograhic algoritms and **looking forward to add more**.The algorithms included in PyCrypt package :
* Reverse Cipher
* Caeser Cipher
* ROT13 Cipher
* XOR Cipher
* Affine Cipher
* Viginere Cipher
# Installation
From Pypi:
Make sure you're using `python3` and have `pip` installed and enabled. On the command line, simply run:
`pip install pycrypt_dev`
And From GitHub Repo:
clone the repository
`git clone https://github.com/ayanbag/pycrypt.git`
Navigate into the project directory
`cd pycrypt`
Install pydl and its dependencies
`python setup.py install`
# Tutorials
To use **PyCrypt** in your programs, you have to import it :
`import py.pycrypt`
* Reverse Cipher:
`py.pycrypt.reverse.cipher(message)`
where, message -> It is a set of characters or strings which you want to encrypt.
**NOTE**:
To decrypt the current cipher text which is encrypted with Reverse Cipher,
~~~~
from pycrypt import reverse_cipher
cipher_text="nayA'
print(reverse_cipher(cipher_text))
~~~~
Output : Ayan
* Caeser Cipher:
`py.pycrypt.caesar_cipher(message,encode=False,decode=False)`
where, message ->(string) It is a set of characters or strings which you want to encrypt or decrypt.
encode ->(Boolean) Set *True* if you want to encrypt the current message.By default it is *False*.
decode ->(Boolean) Set *True* if you want to decrypt the current cipher text.By default it is *False*.
* ROT13 Cipher:
`py.pycrypt.rot13_cipher(message)`
where, message ->(string) It is a set of characters or strings which you want to encrypt.
**NOTE**:
To decrypt the current cipher text which is encrypted with ROT13 Cipher,
~~~~
from py.pycrypt import rot13_cipher
cipher_text="nlna'
print(rot13_cipher(cipher_text))
~~~~
Output : ayan
* XOR Cipher:
`py.pycrypt.xor_cipher(message,key)`
where, message ->(string) It is a set of characters or strings which you want to encrypt.
key ->(string) Used to encrypt message.
**NOTE**:
To decrypt the current cipher text which is encrypted with XOR Algoritms,
~~~~
from py.pycrypt import xor_cipher
cipher_text="SHRZ'
print(xor_cipher(cipher_text))
~~~~
Output : ayan
* Affine Cipher:
`py.pycrypt.affine_cipher(message,encode=False,decode=False)`
where, message ->(string) It is a set of characters or strings which you want to encrypt or decrypt.
encode ->(Boolean) Set *True* if you want to encrypt the current message.By default it is *False*.
decode ->(Boolean) Set *True* if you want to decrypt the current cipher text.By default it is *False*.
* Viginere Cipher:
`py.pycrypt.viginere_cipher(message,keyword='crypto',decencode=False,decode=False)`
where, message ->(string) It is a set of characters or strings which you want to encrypt or decrypt.
keyword ->(string) Used to encrypt or decrypt message as key to the lock.
encode ->(Boolean) Set *True* if you want to encrypt the current message.By default it is *False*.
decode ->(Boolean) Set *True* if you want to decrypt the current cipher text.By default it is *False*.
# PyCrypt CLI
PyCrypt comes with a interctive Help CLI. To activate the PyCrypt Help CLI , on the command line, simply run:
`$ pycrypt`
**or**
`$ pycrypt [Funtion_Name]`
Metadata
Release files for pycrypt-dev 0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycrypt_dev-0.1.dev1.tar.gz | 3.7 kB | Without provenance | Details for pycrypt_dev-0.1.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycrypt_dev-0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details for pycrypt_dev-0.1.dev1-py3-none-any.whl |
Total release size: 7.6 kB
Release files / pycrypt_dev-0.1.dev1.tar.gz
| Download URL | pycrypt_dev-0.1.dev1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452fbc4515342ada1db35ba0aa25eaa468542278b55c14acb94f2fe1a784e8a1
|
|
BLAKE2b-256 checksum How to use checksums |
f9b9d769e0543c762d646820dbca189d516950bf5aef3a055e3f1f4965d637b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
|
Release files / pycrypt_dev-0.1.dev1-py3-none-any.whl
| Download URL | pycrypt_dev-0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55b9d5c656f8371910ce40ff80ca4964362e4e616db389535eddc914f4921755
|
|
BLAKE2b-256 checksum How to use checksums |
d2372ca26f99f7b3e326df9a3021d544f3f4c2c739038e0a7f1b68acfe5b773f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
|
Security for pycrypt-dev 0.1.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.