Skip to main content

brealid-python-lib

brealid python library

Installation

pip install brealid

Structure

  • brealid
    • utils
      • benchmark
    • ctf
      • crypto
        • some useful functions
          • bytes_xor
        • GF2n

Usage

ctf

from brealid.ctf import *
from brealid.ctf.crypto import GF2n

print(bytes_xor(b'hello, world', b'\x06\nL\x01\x00^EW\t\x1e\r\x03'))
# b'no more flag'

num = GF2n(0x13) * GF2n(0x13)
print(num)
print(repr(num))
# 261
# GF2n<GaloisField(2^512), poly=0x125> (0x105)

Release files for brealid 0.0.10

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

Source distribution (sdist)

Source distribution for brealid 0.0.10
File Size Uploaded
brealid-0.0.10.tar.gz 5.7 kB Details

Built distribution (wheel)

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

Total release size: 12.1 kB

Release files / brealid-0.0.10.tar.gz

Download URL brealid-0.0.10.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
564b2d6716835f01640fe2320a4dd763eed8ec7f0e977065a1a5bcb5fd7227ea
BLAKE2b-256 checksum
How to use checksums
6c080b93766f6b5ecd6caf8a0b31ab86d82c5b1f1d0a89ef58786ec332d07971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / brealid-0.0.10-py3-none-any.whl

Download URL brealid-0.0.10-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95b76978056d7ff6cba464716140d865cf9a7ef94eb7897efdde824f1a715b2a
BLAKE2b-256 checksum
How to use checksums
428f068a986d3e4a5d8478f739e77b6b3bed5bc7c837a73959415b5ad439e720
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

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