brealid's python package
Project description
brealid-python-lib
brealid python library
Installation
pip install brealid
Structure
- brealid
- utils
- benchmark
- ctf
- crypto
- some useful functions
- bytes_xor
- GF2n
- some useful functions
- crypto
- utils
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brealid-0.0.5.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.5.tar.gz
.
File metadata
- Download URL: brealid-0.0.5.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df3ffce83ca6db3c95782c916ff4fc4549a1d41be2070f0cd5dfaccde83df606 |
|
MD5 | e6068fba268424578158300e859b47d3 |
|
BLAKE2b-256 | 87cef23727125cc65f0664a04506ed11cc9d6298b1f3a5655d65272a6b935165 |
File details
Details for the file brealid-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87cdc9150310e9f3599f127c77f6493f1ffe07c792041c3c9f2dc002562831d4 |
|
MD5 | bda4ca1cda3e68e1656d68ff1b30ddf2 |
|
BLAKE2b-256 | 9cef3ffa072e620969b618a50f86f189ede2fc5c8df685612f290ce5f6603850 |