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.9.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.9.tar.gz
.
File metadata
- Download URL: brealid-0.0.9.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 | d76bff0e593f913786b855567a7fe43308bf5168849114571492f488d78b9876 |
|
MD5 | 6fd827980c9e9092a6d73d272cf5f946 |
|
BLAKE2b-256 | 0fb8903650a158962241bafe6b056156f46425a04268aacea53380e7697c22c0 |
File details
Details for the file brealid-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.9-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 | 61004dc4113c1e55a6fa668829135391f3aa54c6ca81d9e0c76e516b6a80c0f4 |
|
MD5 | bc5a99609f45eb18c547c028e570bfd5 |
|
BLAKE2b-256 | 0df3e761c2bd4b988b2ee7da30833869d0f3945ade940705da2b6f5f1bb41bff |