ImageEncryption
image encryption using Chaotic sequence and LFSR method
Install / Use
/learn @Mohammadtvk/ImageEncryptionREADME
imageEncryption
image encryption using Chaotic sequence and LFSR method based on the paper " Image encryption and decryption using chaotic key sequence generated by sequence of logistic map and sequence of states of Linear Feedback Shift Register " by " ROHITH S, K N HARI BHAT, A NANDINI SHARMA"
1. LFSR
this method starts with an arbitrary seed and next number generates as shown in this figure
<p align="center"><img src="LFSR.png"></p> below is result of using this method <p align="center"> <img src="peppers.png"> <img src="LFSREnc.png"> </p> 2. Chaotic Sequence this method also starts with an arbitrary seed and another parameter mu. the formula that generates the next number is : X(i) = mu * x(i-1) * (1 – x(i-1)) <p align="center"><X(i) = mu * x(i-1) * (1 – x(i-1))></p> In this formula mu is between 2 and 4 and when is near to 4 the function generates highly random numbers. Here is how the function behaves <p align="center"><img align="center" src="chaotic.png"></p> <p align="center"><img align="center" src="peppers.png"> <img align="center" src="chaoticEnc.png"></p>to make the encryption more secure the encryption key is combination of these two methods.
Encryption and Decryption : after generating keys using methods above:
encryptedImage = originalImage XOR Key <br/> decryptedImage = encryptedImage XOR key
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.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
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
