Crates.io | emv_parser |
lib.rs | emv_parser |
version | 0.1.5 |
source | src |
created_at | 2023-12-03 08:33:16.425315 |
updated_at | 2024-01-21 09:11:45.375731 |
description | An EMV Message Parser |
homepage | |
repository | https://github.com/HosseinAssaran/EMV-Parser |
max_upload_size | |
id | 1056802 |
size | 766,242 |
This Rust program gets emv messagesv in hex string format and it extracts and processes specific fields from an input message.
Clone the repository:
git clone https://github.com/HosseinAssaran/EMV-Parser
cd EMV-Parser
Build and run the program:
cargo build
cargo run
Follow the prompts to enter an EMV message for parsing.
Clone the repository:
git clone https://github.com/HosseinAssaran/EMV-Parser
cd EMV-Parser
Build relaese:
cargo build --release
Run PHP Server:
php -S localhost:12345
Open you browser and go to localhost:12345
To run tests, use the following command:
cargo test
cargo add emv_parser
use emv_parser::{StringManipulation, positions_of_set_bits, LTV};