Line code in which each data bit is represented by at least one transition. Combines clock and data signals and is self-synchronizing. Used in Ethernet 10Base-T and other network protocols. Educational implementation following IEEE 802.3 specification.
| Property | Value |
|---|---|
| Category | Encoding Schemes |
| Sub-category | Line Code |
| Security status | π Educational Only |
| Complexity | Beginner |
| Inventor | G.E. Thomas |
| Year | 1949 |
| Origin | πΊπΈ United States |
| Source | algorithms/encoding/manchester.js |
Status: π Educational Only
No vulnerabilities are recorded for this implementation.
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β Manchester empty data test
Source: IEEE 802.3 standard
| Field | Value |
|---|---|
input |
(empty) |
expected |
(empty) |
Vector 2 β Single zero byte encoding test - Manchester
Source: Educational standard
| Field | Value |
|---|---|
input |
00 |
expected |
00010001000100010001000100010001 |
Vector 3 β Single byte with LSB set - Manchester
Source: IEEE 802.3 example
| Field | Value |
|---|---|
input |
01 |
expected |
00010001000100010001000100010100 |