Confirmed. When I treat both as ASCII, I get the same answer: /* "ABCabcAB12345678" */ Key =, '41424361626341423132333435363738'X;
/* "Hola Mundo" */ Msg =, '486f6c61204d756e646f'X; expected_Mac =, '7483f0f47d20c89256805b69936ebdc31e62d99a40f6640b334c6b5a8d83df5e'X; Eric Rossman, CISSPĀ® ICSF Cryptographic Security Development z/OS Enabling Technologies [email protected] "IBM Mainframe Discussion List" <[email protected]> wrote on 09/15/2021 02:18:25 PM: > From: "Charles Mills" <[email protected]> > To: [email protected] > Date: 09/15/2021 02:18 PM > Subject: [EXTERNAL] Re: ICSF Hash with a certain seed (Key) > Sent by: "IBM Mainframe Discussion List" <[email protected]> > > Actually, as I think more, perhaps the Web site is computing the > hash on the ASCII value of ABCabcAB12345678 which would be > X'41424361626341423132333435363738' while the mainframe tool is > perhaps taking ABCabcAB12345678 as hex? Try taking the mainframe > hash of the hex string above and see if it is the same as what the > Web site gives you. > > Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
