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.6.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file brealid-0.0.6.tar.gz
.
File metadata
- Download URL: brealid-0.0.6.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 | deb4baa9dad9af1f2ae86be219390d3e5ad6bdcfb5ff7c05c223ced1a572e610 |
|
MD5 | 5e82332c36526da791c00e1107765d89 |
|
BLAKE2b-256 | 5dda5a84ff95eb9f638e126d06d6390eae038e4bb0a0f6a3bfe8fdf984d1f9b9 |
File details
Details for the file brealid-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: brealid-0.0.6-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 | 3f7b611d0196418ac35ddb6fd41225c58c0fc39a0bcd4c18a9722879d7a31962 |
|
MD5 | c56e26ebaaa1ee64720f968031935de1 |
|
BLAKE2b-256 | 09b0d6fa9472c85396d0844079583adaf1cef91172e5a16ab8bf9dee7c0bdb4d |