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.2

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.2.tar.gz (11.8 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.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uranium_engine-0.1.2.tar.gz
  • Upload date:
  • Size: 11.8 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.2.tar.gz
Algorithm Hash digest
SHA256 db0392c77483e73224faef7581d53b60010c1c33e1d9ed730097d80850d2a376
MD5 542b04a916e3787b4348f658fae120f9
BLAKE2b-256 4ed26db53522ce4ab64e0e6d7b3416aa6696d119a147ce544f97f8e3219b0c3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uranium_engine-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7a0771fc963753dc9aee6996ad333d1c6e8019476e8926d4289ee28831b87a6
MD5 132eed58589d80479a1fb75a46d7d83a
BLAKE2b-256 27154ffbca4f7ba18ff942f322712f70e7786573d293e2c74fecc04ae61f69b0

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