Skip to main content

RES: Randomized Encryption Standard

License

Description

RES is a simple symmetric key encryption algorithm designed to encrypt using randomization. It uses a hashing algorithm to generate random numbers from the input key. Then it goes through 3 stages of ciphers before before using key block encryption. This algorithm uses 128, 256, and 512 char blocksizes

Table of Contents

Installation

This algorithm uses no requirements and can be installed by simply cloning the repo.

git clone https://github.com/harbingeroffire/RES.git

USAGE

Example For encrypting and decrypting using RES:

import RES

#Example for RES-128
key=b"key"
cipher=RES.Cipher("RES-128", key)

#encrypt
ciphertext=cipher.encrypt(b"buffer")
print("Encrypted Text: ", ciphertext)

#decrypt
plaintext=cipher.decrypt(ciphertext)
print("Decrypted Text: ", plaintext)

Other Notes

The code also has a built in function to encrypt and decrypt files using fencrypt() and fdecrypt() as well as outputing the encryption in hexadecimal using hencrypt() and hdecrypt(). Conviently I also combined them to encrypt and decrypt files with hexadecimal with hfencrypt() and hfdecrypt().

License

MIT License, you all know what that is.

Metadata

Release files for REScrypt 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for REScrypt 0.0.2
File Size Uploaded Provenance
REScrypt-0.0.2.tar.gz 5.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for REScrypt 0.0.2
File Interpreter ABI Platform
REScrypt-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / REScrypt-0.0.2.tar.gz

Download URL REScrypt-0.0.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f41d7262b428501f19a7e2476ea97851b955ac4f3478ca48beaa404ec2fee21
BLAKE2b-256 checksum
How to use checksums
a4df66d725ed8752aba074830f98ed03d2a9674679a010df35bd70c351ec3bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / REScrypt-0.0.2-py3-none-any.whl

Download URL REScrypt-0.0.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f517e3704d43bab02f30af7eba93d6c2cd6bd53d9cda04b0e9c8ec0380aa201
BLAKE2b-256 checksum
How to use checksums
b91641e584d7de2e3fc242b5df13b20a945744d00a8282f1b8a4f76c6aa62037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Security for REScrypt 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page