Skip to main content

A Babylonian-style base-60 RSA library in Python

Project description

BabylonRSA 🔑🪔

BabylonRSA is a Python library for experimenting with public/private key encryption (RSA-like) using the Babylonian sexagesimal (base-60) numeral system.
Instead of encoding numbers in decimal or hexadecimal, this library stores ciphertext and keys in base-60, inspired by ancient Mesopotamian mathematics.


Features

  • Generate public/private key pairs.
  • Encrypt and decrypt text messages.
  • Encode ciphertext and keys in Babylonian base-60 instead of hex.
  • Lightweight, educational, and easy to extend.

Installation

Include the babylonrsa folder in your project or install via PyPI (if published):

pip install babylonrsa

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

babylonrsa-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

babylonrsa-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file babylonrsa-1.0.0.tar.gz.

File metadata

  • Download URL: babylonrsa-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.12.1.2 requests/2.32.3 setuptools/80.9.0 requests-toolbelt/1.0.0 tqdm/4.67.1 CPython/3.12.11

File hashes

Hashes for babylonrsa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e700a20a04897275f6a245df1b0725a9998a575b98c95bc8c6e26cea4076f0a4
MD5 f1d23ac1a017da5957f054ecf15e408c
BLAKE2b-256 c7952351bcd9a238013100cdda15589718cefac9c2a911b5e05b6792c196eb62

See more details on using hashes here.

File details

Details for the file babylonrsa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: babylonrsa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.12.1.2 requests/2.32.3 setuptools/80.9.0 requests-toolbelt/1.0.0 tqdm/4.67.1 CPython/3.12.11

File hashes

Hashes for babylonrsa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5de9bb50d398d4c5cda8d459936017cd3f9bcf6bad59dae63426a89c3ef50eae
MD5 ffdf1d1c61af1d23b1f996842bbf666c
BLAKE2b-256 af5f7dfc1083c37860a6655674201bc9a590319a2588f81a83d41238403d1ead

See more details on using hashes here.

Supported by

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