Glossary
Manifest.db
Manifest.db is the SQLite catalogue of an iPhone backup: it maps every hashed file name to its domain and path, with per-file metadata and protection class.
Manifest.db is the SQLite database at the root of every iTunes, Finder or Apple Devices backup of an iPhone or iPad (it replaced Manifest.mbdb in iOS 10). Backup files are stored under opaque 40-character names; Manifest.db maps each name to where the file came from.
Its Files table holds one row per file or directory: the fileID, which is the SHA-1 of domain-relativePath (for example HomeDomain-Library/SMS/sms.db), the domain, the relativePath, flags (1 file, 2 directory, 4 symlink) and a binary plist blob describing the file's size, mode, timestamps and data protection class.
In an encrypted backup, Manifest.db is itself encrypted with a key stored in Manifest.plist, and each file record carries its own wrapped encryption key. You need the backup password before you can list, let alone read, anything.
Because the fileID is deterministic, you can compute where a known file sits in any backup: printf %s "HomeDomain-Library/SMS/sms.db" | shasum gives 3d0d7e5f.... See Manifest.db and Manifest.plist for the full backup layout.