Skip to main content

Uranium-Engine – hybrid encryption and cryptographic utilities for Python.

Project description

Uranium Engine

Apache License 2.0

Uranium Engine - It's cryptographic and secure tools: HybridUranium (Hybrid Encryption), HybridQuantumUranium (Hybrid Quantum Encryption, but now in development), EncryptFileFernetUranium (Encrypt a data in file use a Fernet). We are using secure and modern cryptographic algorithms. This modele was created for secure and fast usage

Developer: Alexx-coder or alexx (GitHub)

Version: 0.1.1

License: Apache License 2.0

Uranium Engine on Github

Install:

pip install Uranium-Engine

Acknowledgements

This project uses:


Modules: Technologies and how use

Everything is available 2 module and 1 module in development

For modules need generation keys, example:

from UraniumEngine.core.keys import generation_x25519_keypair, generation_key, generation_fernet_key

x25519_keys = generation_x25519_keypair()
public_pem = x25519_keys['public_pem']
private_pem = x25519_keys['private_pem']

key = generation_key()
hex_key = key["Hex"]
base64_key = key["Base64"]

fernet_key = generation_fernet_key()

HybridUranium

  • More detailed:
Technologies (Python)
ECDH, X25519, ChaCha20-Poly1305
  • How import:
from UraniumEngine import HybridUranium
  • How use:
from UraniumEngine import HybridUranium
from UraniumEngine.core.keys import generation_x25519_keypair

# I'll use an example to show Alice and Bob.

alice = generation_x25519_keypair() # Alice generates x25519 keys

secret = b'My name is Bob' # Message's Bob
encrypted = HybridUranium.encrypt(secret, alice['public_pem']) # Encrypting message's Bob

decrypted = HybridUranium.decrypt(encrypted[0], encrypted[1], alice['private_pem']) # Alice decrypts message's Bob
message = decrypted.decode('utf-8') # Decode decryptes message's Bob
print(f"Message's Bob: {message}")  # Print the original message

HybridQuantumUranium

This module in development...

EncryptFileFernetUranium

  • More detailed:
Technologies (Python)
Fernet (AES-128)
  • How import:
from UraniumEngine import EncryptFileFernetUranium
  • How use:
from UraniumEngine.core import generation_fernet_key
from UraniumEngine.EncryptFileFernetUranium import encrypt_file, decrypt_file

fernet_key = generation_fernet_key()
encrypt_file("Hello Uranium Engine", "/home/alexx/text.txt", key)
decrypted_file = decrypt_file("/home/alexx/text.txt", key)
print(decrypted_file)

Project details


Download files

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

Source Distribution

uranium_engine-0.1.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

uranium_engine-0.1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file uranium_engine-0.1.1.tar.gz.

File metadata

  • Download URL: uranium_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for uranium_engine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7826c4f4bf4d1ffbfc08fad1febfac90466b84e41570fe4e6ec5b1a8d869bb6e
MD5 e6776803b2d1deea541a77e95bec997f
BLAKE2b-256 f0679e90b931c18b4d241f62282dcf1e2fd98dd859898b846271b5101f815080

See more details on using hashes here.

File details

Details for the file uranium_engine-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: uranium_engine-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for uranium_engine-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbde5c331e292989dc08ed117e7aaadda6d5c0b28b4bbb06283fbdec9c47e4a9
MD5 513c1a721568196a3d5e7b29e0fe0d5a
BLAKE2b-256 392da8adccb0591cf84a748766197bbefe4c11156b74b2817eff5cdfd820f1a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page