brealid's python package
Project description
brealid-python-lib
brealid python library
Installation
pip install brealid
Structure
- brealid
- ctf
- crypto
- Alias (remote, bytes_xor)
- GF2n
- crypto
- ctf
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.3.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.3.tar.gz
.
File metadata
- Download URL: brealid-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0963297dbf6ee6d6359a517922b1281a4892e6d8322c2f02f0d553d8b5346db |
|
MD5 | 1c03e67a5d381355b1d5e82f825f014a |
|
BLAKE2b-256 | 3f5dc9118d0b222bd189f1d2b4e263c65da4a4982050b81d154fd86a7659dc09 |
File details
Details for the file brealid-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401b9ca4ca0440c03704de6cf24239be11eac8ded6471c01e0c423008c448f2d |
|
MD5 | 0f18bdaa1927cc1fe4e7a364e37f024c |
|
BLAKE2b-256 | a2b4c1826d781d2fed79f64b072c5b6505cefb2ed245753083bdef120e4a3da4 |