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.10.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.10.tar.gz
.
File metadata
- Download URL: brealid-0.0.10.tar.gz
- Upload date:
- Size: 5.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 | 564b2d6716835f01640fe2320a4dd763eed8ec7f0e977065a1a5bcb5fd7227ea |
|
MD5 | e12c40e8417fe05a0ad3165704aaf1e0 |
|
BLAKE2b-256 | 6c080b93766f6b5ecd6caf8a0b31ab86d82c5b1f1d0a89ef58786ec332d07971 |
File details
Details for the file brealid-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.10-py3-none-any.whl
- Upload date:
- Size: 6.4 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 | 95b76978056d7ff6cba464716140d865cf9a7ef94eb7897efdde824f1a715b2a |
|
MD5 | e2b71e3ebd74ee8ba77167696bbdc7c3 |
|
BLAKE2b-256 | 428f068a986d3e4a5d8478f739e77b6b3bed5bc7c837a73959415b5ad439e720 |