Visual RFC.
ALL RFCs / RFC 8446
Read the RFC ↗
RFC 8446 / RECORDS

Inside an encrypted record

03

An authenticated-encryption operation protects content, its real type, and optional padding.

RFC 8446 · § 5.2EXAMPLE
4 / 4
04
Verify before releasing plaintext.

A modified record fails authentication; do not deliver unverified bytes.

Inside an encrypted recordA plaintext record becomes protected ciphertext; a tamper mark leads to failed authentication.A record is a protected parcelcontent | inner type | zero paddingAEAD + nonceheadervisibleauthenticated ciphertextmodified bytes → authentication fails

Key idea: The outer record is visible; its protected content is not.

Terms

Look up a term in the glossary ↗

Rules & examples
  • TLSInnerPlaintext contains content, an inner content type, and optional zero padding.
  • The TLSCiphertext header is associated data for AEAD.
  • Failed record authentication terminates the connection with a bad_record_mac alert.

The examples simplify the wire representation. Follow the linked specification and application profile for implementation.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A seal answers a specific question.

A certificate or signature supports particular checks about a key or message. It does not automatically prove that every claim or sender is trustworthy.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

This guide explains the 2018 publication. Superseded by RFC 9846.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

EXPLORE THIS PROTOCOL

TLS versions and editions

RFC 9846 revises TLS 1.3; it is not TLS 1.4. Publication status and negotiated protocol version are different.

All chapters in RFC 8446

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗