Skip to main content

ABP Tools

ABP Logo

ABP (Additional Binary Patterns) is a string encryption algorithm, designed on March 31, 2025. It is based on the use of a table of patterns to transform a text in a reversible way. From the MazeGroup Wiki page (in french).

Installation

With PyPi :

Use the command pip install abp-tools.

Usage

Importation

The code below imports ABP :

from abp import *

Encoding

The function encode(text: str, patterns: list[list[int]]) -> bytes takes the string to encode/encrypt and a list of list of numbers (the table of patterns), it returns a bytes string.

Decoding

The function decode(ciphertext: bytes, patterns: list[list[int]]) -> str takes the bytes string and the table of patterns to decode, it returns a string.

Key to patterns (K2P)

The function generate_patterns(key: str, num_patterns: int = 100) -> list takes a string key and a number of patterns to generate, it returns the table of patterns corresponding to the parameters.

Metadata

Release files for abp-tools 0.1.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 abp-tools 0.1.2
File Size Uploaded Provenance
abp-tools-0.1.2.tar.gz 2.3 kB Without provenance Details

Release files / abp-tools-0.1.2.tar.gz

Download URL abp-tools-0.1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e226a0d62cb2e4357e12b16b19593109f69e75436906d4ceaac5cfd0c4dbfed3
BLAKE2b-256 checksum
How to use checksums
f873ef01a827df57997a2b057ffb76440ae9ccacf3017660729c4d4df4df8c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Security for abp-tools 0.1.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.

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