Skip to main content

Appendix B. Example AES_128_CBC_HMAC_SHA_256 Computation

This appendix demonstrates an example computation of the AES_128_CBC_HMAC_SHA_256 algorithm. This algorithm is defined in [JWA] and is a combined encryption algorithm that uses AES_128_CBC for encryption and HMAC SHA-256 for authentication.

This example demonstrates:

  • Key derivation
  • CBC mode encryption
  • HMAC computation
  • Authentication Tag generation

Note: For complete computation steps and intermediate values, please refer to the original RFC document. These details are crucial for verifying implementation correctness.