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.4.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.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SecuriPy-1.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 48096513d366cb86aa9de9b2ada9865fc04ef36e5c32186c83ff745859dc9d80
MD5 8b2ddf5e44532ade01abd734b92f6167
BLAKE2b-256 edb9039cd0e84879a9f2a5d6a47b9042e3572590b1d68e308b0e715953795948

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SecuriPy-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f0bfa24bdfc3109630d69d146313a06c06a91efb8e4bacf8beda58a5ce342373
MD5 af55effd0cdd597495f57fba8ef9e6d5
BLAKE2b-256 ce34f797ed1ed27fe42a50acfe7eb804c52cfdf6c5006d16c35d4d799ea57bc7

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

This release

1.1.4 This release

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

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