I'm trying to create a ISO8583 Rev93 message.
What is the standard way of generating MAC key in ANSI X9.9
DES-CBC encryption algorithm is used to encrypt the message and generate the MAC.
How many bytes should I take from the encrypted byte array based on ANSI X9.9 standard? 8 or 16? I think I should take 4 bytes (8 ASCII characters) and place them on field 128 (MAC). But very doubtful about that.
The MAC key that the customer has provided me is 16 characters. (like
1234567890123456). Should I convert it to an 8 byte key? or a 16 byte key? (Based onISO8583 Rev93andANSI X9.9)
Thank you.