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.1.0.tar.gz (4.1 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.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for SecuriPy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d9499c63f76eda08b555bf2187be327719f1644938d0b95261084cc62c876b0a
MD5 de5fd1d89e0f4396b3f0fa1af3fa4ae2
BLAKE2b-256 3006272dbf81f546e70fa028e61bdf19e1b1a6ef2c0eb1836c16c618f324c9cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SecuriPy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 384f6e6b12462b345e2d28c9e40f07b85c3cbf9e1d354cbbb279c8bf9ec0dce0
MD5 956cfdbc339154fe05ee80739bf89495
BLAKE2b-256 aa0b8557c9c581ceb3a80e09ed079cf4b4b19d064bf216c0fedb0abede12d3df

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

This release

1.1.0 This release

2 files

1.0.8

2 files

1.0.7

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