Skip to content

Alexx-coder/Uranium-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

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)

About

UraniumEngine – cryptographic and secure tools for Python.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages