{ "title":"CBC-MAC-04: MAC example with direct shared key and AES-CBC-MAC-256/128", "input":{ "plaintext":"This is the content.", "mac":{ "alg":"AES-MAC-256/128", "protected":{ "alg":"AES-MAC-256/128" }, "recipients":[ { "unprotected":{ "alg":"direct", "kid":"our-secret" }, "key":{ "kty":"oct", "kid":"our-secret", "use":"enc", "k":"hJtXIZ2uSN5kbQfbtTNWbpdmhkV8FJG-Onbc6mxCcYg" } } ] } }, "intermediates":{ "ToMac_hex":"84634D414344A101181A4054546869732069732074686520636F6E74656E742E", "CEK_hex":"849B57219DAE48DE646D07DBB533566E976686457C1491BE3A76DCEA6C427188", "recipients":[ { } ] }, "output":{ "cbor_diag":"97([h'A101181A', {}, h'546869732069732074686520636F6E74656E742E', h'DB9C7598A0751C5FF3366B6205BD2AA9', [[h'', {1: -6, 4: h'6F75722D736563726574'}, h'']]])", "cbor":"D8618544A101181AA054546869732069732074686520636F6E74656E742E50DB9C7598A0751C5FF3366B6205BD2AA9818340A20125044A6F75722D73656372657440" } }