Metadata-Version: 2.1
Name: eac-logchecker
Version: 0.5.0
Summary: Logchecker for logs generated by EAC
Home-page: https://github.com/OPSnet/eac_logchecker.py
Author: OPS
Author-email: noreply@orpheus.network
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.5.0
Description-Content-Type: text/markdown


# EAC Log Signer

This is a transparent implementation of the Exact Audio Copy log checksum algorithm in Python 3.4+.

This is a fork of https://github.com/puddly/eac_logsigner, with modifications to have it
better match the output of the actual EAC Logchecker to be used in downstream applications.

# Usage

    usage: eac.py [-h] [--json] files [files ...]

    Verifies EAC logs

    positional arguments:
    files       input log file(s)

    optional arguments:
    -h, --help  show this help message and exit
    --json      Output as JSON

# Example

    $ python3 eac_logchecker.py


# Overview

The algorithm internally uses UTF-16 strings and XORs a refilling 32-byte buffer of characters with the internal state of what looks to be part of AES-256. The code is pretty short, go read it for more info. Open a pull request if you can figure out a way to simplify it.


