Simulator: Teks UTF-8 → Bit → Blok → Ciphertext
Hanya untuk belajar. Merkle–Hellman sudah terbukti tidak aman. Jangan masukkan data rahasia.
Bit UTF-8 (2 byte)0100100001101001
| Blok | Bit (pad 0) | Ciphertext |
|---|
| #1 | 01001 | 73 |
| #2 | 00001 | 22 |
| #3 | 10100 | 92 |
| #4 | 10000 | 34 |
Hasil dekripsi (memakai byteLength = 2): Hi