Catalog PyPI
PACKAGE EXPLORERView in registry

abp-tools

PyPI

ABP is an encryption algorithm.

Versions collected1
Direct dependencies0From release 0.1.2
Last observed20 Oct, 17:33 UTC

README

Version 0.1.2 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.214 Apr 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
geniusum/abp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0ab10849bd3b88c6c285f4d1744b0310c6f606f3b3e7b26ed2f3ab07fb47bf6c