-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Functions that are most commonly used should be in an easily-accessible module (such as src/cryptobible/__init__.py). Functions which are already part of the dependencies of this module should not be included here. Same goes for functions that are not useful in a script by themselves and can be achieved using online tools (like xor key length or frequency analysis). Some functions include:
bytes_to_int()(This can already easily be achieved in Python usingint.from_bytes(...))int_to_bytes()pad()unpad()base_convert(): Should work with lists and stringsstr_to_dict: combination ofjson.loads()andsage_eval()for lists of numbersdict_to_str()xor(): Similar topwn.xor()
Please do recommend more if they come to mind
Metadata
Metadata
Assignees
Labels
No labels