Skip to content

Repository files navigation

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:

fromUraniumEngine.core.keysimportgeneration_x25519_keypair, generation_key, generation_fernet_keyx25519_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:
fromUraniumEngineimportHybridUranium
  • How use:
fromUraniumEngineimportHybridUraniumfromUraniumEngine.core.keysimportgeneration_x25519_keypair# I'll use an example to show Alice and Bob.alice=generation_x25519_keypair() # Alice generates x25519 keyssecret=b'My name is Bob'# Message's Bobencrypted=HybridUranium.encrypt(secret, alice['public_pem']) # Encrypting message's Bobdecrypted=HybridUranium.decrypt(encrypted[0], encrypted[1], alice['private_pem']) # Alice decrypts message's Bobmessage=decrypted.decode('utf-8') # Decode decryptes message's Bobprint(f"Message's Bob: {message}") # Print the original message

HybridQuantumUranium

This module in development...

EncryptFileFernetUranium

  • More detailed:
Technologies (Python)
Fernet (AES-128)
  • How import:
fromUraniumEngineimportEncryptFileFernetUranium
  • How use:
fromUraniumEngine.coreimportgeneration_fernet_keyfromUraniumEngine.EncryptFileFernetUraniumimportencrypt_file, decrypt_filefernet_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)

About

UraniumEngine – cryptographic and secure tools for Python.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages