Skip to content

MAC Generation (DF64 128)

Raghavendra Balgi edited this page Apr 24, 2020 · 1 revision

MAC Generation

Isosim (from v0.8.0) supports MAC generation. Only X9.19 MAC algorithm is supported (i.e ISO 9797 Algo-3) at the moment. This feature is only supported on specifications defined via yaml spec style.

Below is an example field specification for a MAC field

              - name: "MAC"
                id: 13
                type: Fixed
                size: 8
                data_encoding: BINARY
                position: 64
                gen_type: "mac_gen"
                mac_gen_props:
                  mac_algo: "ANSIX9_19"
                  mac_key: "AB9292288227277226252525224665FE"

Example -