REScrypt


NameREScrypt JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryRandomized Encryption System
upload_time2024-02-10 15:58:40
maintainer
docs_urlNone
authorHarbingerOfFire
requires_python
license
keywords python random sxh res encryption cryptography
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # RES: Randomized Encryption Standard

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

## Description

RES is a simple symmetric key encryption algorithm designed to encrypt using randomization. It uses a [hashing algorithm](https://github.com/harbingeroffire/SXH) 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](#installation)
- [Usage](#usage)
- [Other Notes](#other-notes)
- [Examples](#examples)
- [License](#license)

## Installation
This algorithm uses no requirements and can be installed by simply cloning the repo.
```bash
git clone https://github.com/harbingeroffire/RES.git
```

## USAGE
Example For encrypting and decrypting using RES:
```python
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](https://opensource.org/license/mit/), you all know what that is.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "REScrypt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,random,SXH,RES,Encryption,cryptography",
    "author": "HarbingerOfFire",
    "author_email": "harbingeroffire@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/a4/df/66d725ed8752aba074830f98ed03d2a9674679a010df35bd70c351ec3bf4/REScrypt-0.0.2.tar.gz",
    "platform": null,
    "description": "# RES: Randomized Encryption Standard\r\n\r\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\r\n\r\n## Description\r\n\r\nRES is a simple symmetric key encryption algorithm designed to encrypt using randomization. It uses a [hashing algorithm](https://github.com/harbingeroffire/SXH) 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\r\n\r\n## Table of Contents\r\n\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [Other Notes](#other-notes)\r\n- [Examples](#examples)\r\n- [License](#license)\r\n\r\n## Installation\r\nThis algorithm uses no requirements and can be installed by simply cloning the repo.\r\n```bash\r\ngit clone https://github.com/harbingeroffire/RES.git\r\n```\r\n\r\n## USAGE\r\nExample For encrypting and decrypting using RES:\r\n```python\r\nimport RES\r\n\r\n#Example for RES-128\r\nkey=b\"key\"\r\ncipher=RES.Cipher(\"RES-128\", key)\r\n\r\n#encrypt\r\nciphertext=cipher.encrypt(b\"buffer\")\r\nprint(\"Encrypted Text: \", ciphertext)\r\n\r\n#decrypt\r\nplaintext=cipher.decrypt(ciphertext)\r\nprint(\"Decrypted Text: \", plaintext)\r\n```\r\n\r\n## Other Notes\r\nThe 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()`.\r\n\r\n## License\r\n[MIT License](https://opensource.org/license/mit/), you all know what that is.\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Randomized Encryption System",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [
        "python",
        "random",
        "sxh",
        "res",
        "encryption",
        "cryptography"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b91641e584d7de2e3fc242b5df13b20a945744d00a8282f1b8a4f76c6aa62037",
                "md5": "46f3f4da4b6c102d797e5fb23fe0ece8",
                "sha256": "7f517e3704d43bab02f30af7eba93d6c2cd6bd53d9cda04b0e9c8ec0380aa201"
            },
            "downloads": -1,
            "filename": "REScrypt-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46f3f4da4b6c102d797e5fb23fe0ece8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8040,
            "upload_time": "2024-02-10T15:58:38",
            "upload_time_iso_8601": "2024-02-10T15:58:38.543373Z",
            "url": "https://files.pythonhosted.org/packages/b9/16/41e584d7de2e3fc242b5df13b20a945744d00a8282f1b8a4f76c6aa62037/REScrypt-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4df66d725ed8752aba074830f98ed03d2a9674679a010df35bd70c351ec3bf4",
                "md5": "ce67b46445b1a454b716bae731734ae9",
                "sha256": "3f41d7262b428501f19a7e2476ea97851b955ac4f3478ca48beaa404ec2fee21"
            },
            "downloads": -1,
            "filename": "REScrypt-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ce67b46445b1a454b716bae731734ae9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5735,
            "upload_time": "2024-02-10T15:58:40",
            "upload_time_iso_8601": "2024-02-10T15:58:40.196045Z",
            "url": "https://files.pythonhosted.org/packages/a4/df/66d725ed8752aba074830f98ed03d2a9674679a010df35bd70c351ec3bf4/REScrypt-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-10 15:58:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rescrypt"
}
        
Elapsed time: 0.19186s