Trivium
Implementation of Trivium Stream Cipher in Python
Install / Use
/learn @uisyudha/TriviumREADME
Trivium
Implementation of Trivium Stream Cipher with Python
Installation
Require bitstring
pip install bitstring
Usage
usage: trivium.py [-h] [-m {e,d}] [-k, --key KEY] [-iv IV] M
Decryption or encryption using Trivium stream cipher.
positional arguments:
M Cipher text or plain text
optional arguments:
-h, --help show this help message and exit
-m {e,d}, --mode {e,d}
Choose mode, e for encryption or d for decryption
-k, --key KEY An 80 bit key e.g.: 0x0000000000000000
-iv IV An 80 bit initialization vector e.g.:
0x0000000000000000
trivium.py -m e -k 0x80000000000000000000 -iv 0x00000000000000000000 ABCD
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
