# Even code

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Even_code
> Markdown URL: https://mediated.wiki/source/Even_code.md
> Source: https://en.wikipedia.org/wiki/Even_code
> Source revision: 1309161959
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

If the Hamming weight of all of a binary code's codewords is even

This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources. Find sources: "Even code" – news · newspapers · books · scholar · JSTOR (October 2023)

A binary [linear code](/source/Linear_code) is called an **even code** if the [Hamming weight](/source/Hamming_weight) of each of its codewords is even. An even code should have a generator polynomial that includes the (*x*+1) minimal polynomial as a product. Furthermore, a binary code is called **doubly even** if the Hamming weight of all its codewords is [divisible by 4](/source/Divisible_by_4). An even code which is not doubly even is said to be strictly even.

Examples of doubly even codes are the extended binary [Hamming code](/source/Hamming_code) of block length 8 and the extended [binary Golay code](/source/Binary_Golay_code) of block length 24. These two codes are, in addition, [self-dual](/source/Self-dual_code).

*This article incorporates material from even code on [PlanetMath](/source/PlanetMath), which is licensed under the [Creative Commons Attribution/Share-Alike License](https://en.wikipedia.org/wiki/Wikipedia:CC-BY-SA).*

This cryptography-related article is a stub. You can help Wikipedia by adding missing information.

- [v](https://en.wikipedia.org/wiki/Template:Crypto-stub)
- [t](/source/Template_talk%3ACrypto-stub)
- [e](https://en.wikipedia.org/wiki/Special:EditPage/Template:Crypto-stub)

---
Adapted from the Wikipedia article [Even code](https://en.wikipedia.org/wiki/Even_code) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Even_code?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
