Skip to content

Commit 6af5e17

Browse files
authored
Update README.md
1 parent b8d8cf0 commit 6af5e17

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,33 @@
1-
# Binary_Encoder_Decoder
1+
# Binary_Encoder_Decoder
2+
# 🔢 Binary Encoder/Decoder
3+
4+
A simple yet powerful Python program that encodes text into binary and decodes binary back to text using 8-bit ASCII encoding. Supports alphabets, digits, punctuation, and special characters.
5+
6+
---
7+
8+
## 🚀 Features
9+
10+
- ✅ Encode any text (letters, digits, symbols) into binary
11+
- ✅ Decode valid binary strings into readable text
12+
- ✅ Handles spaces and unknown characters gracefully
13+
- ✅ Built with beginner-friendly Python — easy to understand and extend
14+
15+
---
16+
17+
## 🧠 How It Works
18+
19+
The program uses a custom dictionary (`binary_dict`) that maps characters to their **8-bit ASCII binary representation**. For decoding, it uses the reversed dictionary (`reverse_binary_dict`) to translate binary back to text.
20+
21+
---
22+
23+
##Author: Silven Mohan
24+
25+
---
26+
27+
28+
## 🖥️ Usage
29+
30+
Run the program in any Python environment (Python 3.x):
31+
32+
```bash
33+
python binary_encoder_decoder.py

0 commit comments

Comments
 (0)