AffineCipher
This tool is a versatile implementation of the Affine Cipher, a classical encryption algorithm that combines modular arithmetic and linear algebra. It enables users to encode and decode messages using a pair of keys, offering a straightforward and effective approach to securing information.
Install / Use
/learn @amaitou/AffineCipherREADME

What is Affine Cipher?
as Wikipedia says: The affine cipher is a type of monoalphabetic substitution cipher, where each letter in an alphabet is mapped to its numeric equivalent, encrypted using a simple mathematical function, and converted back to a letter.
- look at the entire article from here: https://en.wikipedia.org/wiki/Affine_cipher
Formula
C = (a * P + b) mod 26
P = (a ^ -1 * (C - b)) mod 26
Guide
! Usage: python3 affinecipher.py <type> <string> <a> <b>
* type : {e: encryption, d: decryption}
* string : the text you want to encrypt or decrypt
* a : the first operand of the key
* b : the second operand of the key
Contact Me
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate 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
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
