Hectarea Pizza Encryption Standard
Project description
Hectarea's Pizza Encryption Standard
Pizza Encryption Standard is an encryption algorithm made by Hectarea and Qrab & Nell, based on the steps that you need to make a pizza.
The password is the Sauce, the Initial Value are the ingredients like cheese, pepperoni, peppers and onion, and the Plain Text is the Pizza Dough
#The steps are simple
- The Initial Value and the Password obfuscate each byte of the plain text
It accepts a byte array as input and another byte array with the same length as output.
Installation
pip install HectareaPES
Basic Example
from HectareaPES import PaneraPizza
#Initialize the LES class
LES = LES()
#Parameters:
#Byte array to encrypt
secret_message = b'i know what the dog is doing'
#Any length password
password = b'random length password'
#Any length iv
iv = b'random length initial value'
#Any length nonce
nonce = b'some random nonce'
#Returns the encrypted byte array
EncryptedBytes = LES.encrypt(secret_message, password, iv, nonce)
print("\nEncrypted ByteArray: \n" + str(EncryptedBytes))
#Returns the original byte array
DecryptedBytes = LES.decrypt(EncryptedBytes, password, iv, nonce)
print("\nDecrypted ByteArray: \n" + str(DecryptedBytes))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for HectareaPES-4.20.68.99.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc78d6b0baac59969d34f6ae4b52219d5eb7b5becd1e589edbeb32186120bd4f |
|
MD5 | 85011a6881ac17517578197061f01f5d |
|
BLAKE2b-256 | 5be8ce5e499fadae6fd08ca7bf9e14bb17f39fec59ac18fce3f0c1398a664d90 |