Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RC4 Cipher: Secure Image Encryption System

ระบบเข้ารหัสและถอดรหัสรูปภาพบนเว็บแอปพลิเคชันโดยใช้ขั้นตอนวิธี RC4 (Rivest Cipher 4) สำหรับรายวิชา ENGCE110 Computer and Data Security


📂 โครงสร้างโปรเจกต์ (Project Structure)

encryption-image/
├── index.html   # โครงสร้างหน้าเว็บ (HTML5 Semantics / UI Shell)
├── style.css    # สไตล์และดีไซน์ของหน้าเว็บ (Modern UI / Glassmorphism)
└── script.js    # ส่วนจัดการไฟล์รูปภาพ และอัลกอริทึมเข้ารหัส/ถอดรหัส RC4

🚀 ฟังก์ชันการทำงานหลัก (Key Features)

  • Image Upload & Preview: เลือกไฟล์รูปภาพเข้าสู่ระบบได้อย่างสะดวกสบาย
  • RC4 Cipher Algorithm: เข้ารหัสพิกเซลของรูปภาพด้วยรหัสผ่าน (Secret Key) ที่กำหนดขึ้นเอง
  • Secure Key-based Decryption: ถอดรหัสรูปภาพที่ถูกเข้ารหัสแล้วกลับมาเป็นภาพเดิมด้วยรหัสผ่านที่ถูกต้อง
  • Direct Download: ดาวน์โหลดรูปภาพหลังจากการเข้ารหัสหรือถอดรหัสเสร็จสิ้นทันที
  • Modern User Experience: หน้าจอหรูหราด้วยการไล่เฉดสี, Glassmorphism card, และปุ่มที่ตอบสนองอย่างรวดเร็ว

🛠️ วิธีการติดตั้งและใช้งาน (Usage Guide)

  1. เปิดไฟล์ index.html บนเว็บเบราว์เซอร์ (Web Browser) ใดก็ได้
  2. คลิกปุ่ม Select File เพื่อเลือกภาพที่ต้องการประมวลผล
  3. กรอกรหัสผ่านในช่อง Secret Key
  4. คลิก Encrypt Now เพื่อเข้ารหัสรูปภาพ หรือ Decrypt Now เพื่อถอดรหัสรูปภาพกลับมา
  5. คลิกปุ่ม Download เพื่อเซฟภาพเก็บไว้ใช้งาน

👥 ผู้จัดทำ (Contributors)

  • Sarawut Kaikaew
  • Achitphon Aocharose
  • Peesiravit Chaiwatcharanon
  • ภาควิชาวิศวกรรมคอมพิวเตอร์ (ENGCE110 Computer and Data Security)

About

A web-based image encryption and decryption application using the RC4 (Rivest Cipher 4) algorithm, developed for the ENGCE110 Computer and Data Security course.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages