https://github.com/42proger/golay
:jigsaw: :bookmark_tabs: Golay Code [24, 12] implementation in JavaScript
https://github.com/42proger/golay
decryption encryption golay
Last synced: 18 days ago
JSON representation
:jigsaw: :bookmark_tabs: Golay Code [24, 12] implementation in JavaScript
- Host: GitHub
- URL: https://github.com/42proger/golay
- Owner: 42proger
- Created: 2024-05-17T06:42:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T14:00:49.000Z (about 2 years ago)
- Last Synced: 2024-05-18T15:01:50.579Z (about 2 years ago)
- Topics: decryption, encryption, golay
- Language: JavaScript
- Homepage: https://42proger.github.io/golay/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golay Code Implementation in JavaScript
[](https://github.com/42proger/golay/actions/workflows/deploy.yml)
This repository contains an implementation of the Golay code [24, 12] in JavaScript. The Golay code is a type of error correcting code that can detect and correct multiple errors in a 24-bit block of data. This implementation is designed for educational purposes and demonstrates how encoding, error injection and decoding processes work using the Golay code.
**Live Demo**: You can view and interact with the implementation at: https://42proger.github.io/golay/
## Features
* **Encoding**: Convert a 12-bit message into a 24-bit codeword using Golay code [24, 12].
* **Error introduction**: Simulate transmission errors by introducing bit errors into the encoded message.
* **Decoding**: Correct errors in the received 24-bit codeword.
* **Error Detection**: Identify whether the received message can be correctly decoded or whether errors exceed the correctability.
## Educational Purpose
This project is intended for educational purposes to illustrate the principles of error correcting codes, particularly the Golay code [24, 12]. It is not optimized for performance and is not suitable for production use in real-world applications.
## Contributing
Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request.