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, key

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)

The decrypt function takes one parameter: encrypted_message. 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ĭŁĵ'"

decrypted_message = decrypt(encrypted_message)
print(decrypted_message)

Output:

Hello, World!

key()

The key function generates a secret key that can be used for encryption and decryption. It takes two parameters message and password. With respect to the message it generateda 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.2.tar.gz (3.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.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SecuriPy-1.0.2.tar.gz
  • Upload date:
  • Size: 3.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.0.2.tar.gz
Algorithm Hash digest
SHA256 a7659b11d55403c881e0ac076adb60bebeaa3d9a86a55be92f5f87c65163a8ef
MD5 06549657f0b0dd1af323b34273f4b11f
BLAKE2b-256 668a7fe6d6babd90c30896df05a8304dfac3da0e5e30637be56cdb3bcebeff45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SecuriPy-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 737ad354d26fd16353a3144d313d28a59e2c2dbbd0e76302f844cd2536b02b4c
MD5 4844822aaa788f5e578fc42bbbcaac78
BLAKE2b-256 9530ce78221492496844cfec1408daeb3317f6b34fb4f338f938defaf862aebc

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

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.3

2 files

This release

1.0.2 This release

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