Skip to main content

SecuriPy

SecuriPy is a Python library that provides a set of functions for encrypting and decrypting human-readable messages into undefined non-readable characters. It offers a simple yet powerful way to protect sensitive information from unauthorized access.

Installation

To use SecuriPy, you will need Python 3.x installed on your system. You can install SecuriPy using pip, the Python package installer, by executing the following command:

pip install SecuriPy

Usage

Import the SecuriPy module in your Python script to access the functions:

from SecuriPy import encrypt, decrypt, pwd

OR

from SecuriPy import *

### `encrypt(message, secret_key)`

The `encrypt` function takes two parameters: `message` and `secret_key`. It encrypts the provided `message` using the given `secret_key` and returns the encrypted result.

Example:
```python
message = "Hello, World!"
secret_key = "my-secret-key"

encrypted_message = encrypt(message, secret_key)
print(encrypted_message)

Output:

ե֎Չ֏քԿՂլ֓ՏևչՊԽĵŁõĻĭīĺĭļõijĭŁĵ

decrypt(encrypted_message, password)

The decrypt function takes two parameters: encrypted_messageand password. It decrypts the provided encrypted_message using the given secret_key that is embeded in the encrypted_message and returns the original human-readable message.

Example:

encrypted_message = "ե֎Չ֏քԿՂլ֓ՏևչՊԽĵŁõĻĭīĺĭļõijĭŁĵ'"
secret_key = "my-secret-key"

decrypted_message = decrypt(encrypted_message, secret_key)
print(decrypted_message)

Output:

Hello, World!

pwd()

The pwd function generates a secret password that can be used for encryption and decryption. It takes two parameters message and password. With respect to the message it generates a a secret key. It returns the secret key as a string.

Security Considerations

  • Once the encryption is done you won't be able to access the secret key.
  • Use a strong and unique secret_key for each encryption operation to enhance security. Avoid using easily guessable or common phrases.
  • Always encrypt sensitive information before storing or transmitting it. SecuriPy is a tool for obfuscating the data but does not provide additional security measures for data storage or transmission.

Contributing

Contributions to SecuriPy are welcome! If you find any issues or have suggestions for improvement, please create a GitHub issue or submit a pull request.

License

SecuriPy is released under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions, suggestions, or feedback, you can reach out to the project maintainers at programmer.tiak@gmail.com.

Happy encrypting with SecuriPy!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SecuriPy-1.0.7.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

SecuriPy-1.0.7-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file SecuriPy-1.0.7.tar.gz.

File metadata

  • Download URL: SecuriPy-1.0.7.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for SecuriPy-1.0.7.tar.gz
Algorithm Hash digest
SHA256 a78d6ed63f0317bc59fdc4d48632c8d37146071c8d808f61df06730c13735c5c
MD5 b977e83baa162393439c3eef16ca4af1
BLAKE2b-256 e33b708dab5e407416603f18fc2b379a12a4fc517d6a73c852a5d746210b5773

See more details on using hashes here.

File details

Details for the file SecuriPy-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: SecuriPy-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for SecuriPy-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c798009d6281392bd1fe1973da59fec9e6c4401cb74199edc4bd51161dd58722
MD5 265dcd7cdca71d98cd7b9dea47a25ca6
BLAKE2b-256 b599af541bae1a3056ca3847db6d4adc9c075106452dc30b8019c11cda80d82b

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.3

2 files

3.0.2

2 files

3.0.1

2 files

2.1.0

2 files

2.0.4

2 files

2.0.3

2 files

2.0.2

2 files

2.0.0

2 files

1.1.4

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.8

2 files

This release

1.0.7 This release

2 files

1.0.6

2 files

1.0.5

2 files

1.0.3

2 files

1.0.2

2 files

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page