ISO8583 parser
This Rust program parses ISO8583 messages in hex string format and extracts specific fields. It provides multiple interfaces including a GUI, CLI, and a library for integration into other projects.
Features
- Parse ISO8583 messages with or without length headers
- Support for private TLV (Tag-Length-Value) parsing
- Support for private LTV (Length-Tag-Value) parsing
- Multiple interfaces:
- Graphical User Interface (GUI)
- Command Line Interface (CLI)
- PHP Web Server Interface
- Library for integration
- Detailed field parsing with field names and descriptions
Usage
GUI Application
- Run the GUI version using:
Command Line Interface (CLI)
- Clone the repository:
- Run with command line arguments:
Or run without arguments to use interactive mode:
Run it as a PHP Web Server
- Download the source code and go to the root directory of your source code
- Run below command inside PowerShell:
.\iso_parser_downloader.bat - Run PHP Web Server using below command:
php -S localhost:12345 - Open your browser and go to the link below:
localhost:12345
Important Note: As the PHP Web server uses a rust program to parse the message, you will need it. You can achieve this program by building release of the rust written program from the source or you can downlaod the executable file with iso_parser_downloader.
Library Usage
- Add the dependency to your
Cargo.toml:
[]
= "0.1.12"
- Use in your code:
use ;
Testing
Run the test suite:
Building for Release
Build optimized binaries:
This will create optimized executables in the target/release directory:
iso8583_parser- CLI applicationiso8583_parser_gui- GUI application
License
Licensed under either of:
- MIT license
- Apache License, Version 2.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.