Skip to main content

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


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

HectareaPES-4.20.68.99.99-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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