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.7.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.7.tar.gz
.
File metadata
- Download URL: brealid-0.0.7.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ee833d172c195296d955be0ce1310980f67c8a9e508dbbf5d28bd99a331dca |
|
MD5 | de1a43af96ec265594208740c38c579f |
|
BLAKE2b-256 | cef3e440d97417109942b8c7b88537c0724689e0aa80615de0cbcf871865abe7 |
File details
Details for the file brealid-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.7-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 2a3745ade56d4710859855f3f7200dd94a08130f9312e2e99a2d959c247e3644 |
|
MD5 | aa4e4dc6c6cc726e8255b94d655559dc |
|
BLAKE2b-256 | e4716037600dd77cba1823da44632df97b9c0b822aab940ee0b0a67ef8643850 |