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.8.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.8.tar.gz
.
File metadata
- Download URL: brealid-0.0.8.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed64bf164698fc2ae8df670db34a44dec55420030180ccf6af10d6af6525ed91 |
|
MD5 | e5c004aa4e0f41f6c0e494e5b46d3b6a |
|
BLAKE2b-256 | b5a5c6d04bb92692f33fce56ec67a75e200e13b541ce12314aecf413fb187abf |
File details
Details for the file brealid-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.8-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 | 8347f78caf6e98659d9bad3ceb323661ccb284dfcc8e52d0853403e57f5d11a7 |
|
MD5 | 2308eead629eed13a4580b1c8b4dd81a |
|
BLAKE2b-256 | e7eeee5152d96a828f767fb825a39f4e52cf389267544a7e613a2845bdcc87ac |